Home
last modified time | relevance | path

Searched refs:clock_id (Results 1 – 7 of 7) sorted by relevance

/external/jemalloc/test/src/
Dtimer.c9 timer->clock_id = CLOCK_REALTIME; in timer_start()
11 timer->clock_id = CLOCK_MONOTONIC; in timer_start()
12 clock_gettime(timer->clock_id, &timer->tv0); in timer_start()
23 clock_gettime(timer->clock_id, &timer->tv1); in timer_stop()
/external/wpa_supplicant_8/src/utils/
Dos_unix.c67 static clockid_t clock_id = CLOCK_BOOTTIME; in os_get_reltime() local
69 static clockid_t clock_id = CLOCK_MONOTONIC; in os_get_reltime()
71 static clockid_t clock_id = CLOCK_REALTIME; in os_get_reltime()
77 res = clock_gettime(clock_id, &ts); in os_get_reltime()
83 switch (clock_id) { in os_get_reltime()
86 clock_id = CLOCK_MONOTONIC; in os_get_reltime()
91 clock_id = CLOCK_REALTIME; in os_get_reltime()
/external/linux-tools-perf/src/tools/perf/tests/
Dsw-clock.c19 static int __test__sw_clock_freq(enum perf_sw_ids clock_id) in __test__sw_clock_freq() argument
30 .config = clock_id, in __test__sw_clock_freq()
/external/fio/os/windows/
Dposix.h7 extern int clock_gettime(clockid_t clock_id, struct timespec *tp);
Dposix.c419 int clock_gettime(clockid_t clock_id, struct timespec *tp) in clock_gettime() argument
423 if (clock_id == CLOCK_MONOTONIC) in clock_gettime()
444 else if (clock_id == CLOCK_REALTIME) in clock_gettime()
/external/jemalloc/test/include/test/
Dtimer.h13 int clock_id; member
/external/valgrind/coregrind/m_syswrap/
Dsyswrap-darwin.c4916 clock_id_t clock_id; in PRE() member
4922 PRINT("host_get_clock_service(mach_host_self(), %d)", req->clock_id); in PRE()