Skip to content
projects
/
linux
·
blob
master ·
refs
linux
tools
include
asm
timex.h
…
History
History
·
Raw
Raw
·
Diff
Diff
·
Blob
Blob
13 lines · 250 B
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
9
static
inline
cycles_t
get_cycles
(
void
)
10
{
11
return
clock
(
)
;
12
}
13
#endif
//
__TOOLS_LINUX_ASM_TIMEX_H