Sign in
kernel
/
pub
/
scm
/
linux
/
kernel
/
git
/
rafael
/
linux-pm
/
testing
/
.
/
tools
/
include
/
asm
/
timex.h
blob: 5adfe3c6d3264d976fe8121b5c6b4e56f667592b [
file
] [
log
] [
blame
]
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef
__TOOLS_LINUX_ASM_TIMEX_H
#define
__TOOLS_LINUX_ASM_TIMEX_H
#include
<time.h>
#define
cycles_t
clock_t
static
inline
cycles_t
get_cycles
(
void
)
{
return
clock
();
}
#endif
// __TOOLS_LINUX_ASM_TIMEX_H