1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __TOOLS_LINUX_ASM_TIMEX_H
3 #define __TOOLS_LINUX_ASM_TIMEX_H
4 
5 #include <time.h>
6 
7 #define cycles_t clock_t
8 
get_cycles(void)9 static inline cycles_t get_cycles(void)
10 {
11 	return clock();
12 }
13 #endif // __TOOLS_LINUX_ASM_TIMEX_H
14