Go to the source code of this file.
Functions | |
static long long | llimd (long long ll, int mult, int div) |
static unsigned long long int | us2clock (unsigned long u) |
static unsigned long int | clock2ms (unsigned long long c) |
static unsigned long int | clock2us (unsigned long long c) |
static unsigned long int | clock2jiffies (unsigned long long c) |
static unsigned long int | clock2subjiffies (unsigned long long c) |
static unsigned long long | sched_read_clock (void) |
static unsigned long | sched_read_clock_us (void) |
Variables | |
unsigned long | cpu_khz |
unsigned long | fast_gettimeoffset_quotient |
static unsigned long int clock2jiffies | ( | unsigned long long | c | ) | [inline, static] |
Definition at line 30 of file i386-time.h.
References fast_gettimeoffset_quotient, and llimd().
static unsigned long int clock2ms | ( | unsigned long long | c | ) | [inline, static] |
Definition at line 20 of file i386-time.h.
References fast_gettimeoffset_quotient, and llimd().
static unsigned long int clock2subjiffies | ( | unsigned long long | c | ) | [inline, static] |
Definition at line 38 of file i386-time.h.
References cpu_khz, fast_gettimeoffset_quotient, and llimd().
static unsigned long int clock2us | ( | unsigned long long | c | ) | [inline, static] |
Definition at line 25 of file i386-time.h.
References fast_gettimeoffset_quotient.
Referenced by sched_read_clock_us().
static long long llimd | ( | long long | ll, | |
int | mult, | |||
int | div | |||
) | [inline, static] |
Definition at line 62 of file i386-time.h.
Referenced by clock2jiffies(), clock2ms(), clock2subjiffies(), and us2clock().
static unsigned long long sched_read_clock | ( | void | ) | [inline, static] |
Definition at line 48 of file i386-time.h.
Referenced by sched_read_clock_us().
static unsigned long sched_read_clock_us | ( | void | ) | [inline, static] |
Definition at line 56 of file i386-time.h.
References clock2us(), and sched_read_clock().
static unsigned long long int us2clock | ( | unsigned long | u | ) | [inline, static] |
Definition at line 15 of file i386-time.h.
unsigned long cpu_khz |
Definition at line 2 of file test-get-time.c.
unsigned long fast_gettimeoffset_quotient |
Definition at line 3 of file test-get-time.c.