Searched refs:clock_id (Results 1 – 7 of 7) sorted by relevance
9 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()
67 static clockid_t clock_id = CLOCK_BOOTTIME; in os_get_reltime() local69 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()
19 static int __test__sw_clock_freq(enum perf_sw_ids clock_id) in __test__sw_clock_freq() argument30 .config = clock_id, in __test__sw_clock_freq()
7 extern int clock_gettime(clockid_t clock_id, struct timespec *tp);
419 int clock_gettime(clockid_t clock_id, struct timespec *tp) in clock_gettime() argument423 if (clock_id == CLOCK_MONOTONIC) in clock_gettime()444 else if (clock_id == CLOCK_REALTIME) in clock_gettime()
13 int clock_id; member
4916 clock_id_t clock_id; in PRE() member4922 PRINT("host_get_clock_service(mach_host_self(), %d)", req->clock_id); in PRE()