Home
last modified time | relevance | path

Searched refs:tst_clock_gettime (Results 1 – 6 of 6) sorted by relevance

/third_party/ltp/lib/
Dtst_wallclock.c28 if (tst_clock_gettime(CLOCK_REALTIME, &real_begin)) in tst_wallclock_save()
31 if (tst_clock_gettime(CLOCK_MONOTONIC_RAW, &mono_begin)) { in tst_wallclock_save()
54 if (tst_clock_gettime(CLOCK_MONOTONIC_RAW, &mono_end)) in tst_wallclock_restore()
86 if (tst_clock_gettime(CLOCK_MONOTONIC_RAW, &mono_begin)) in tst_rtc_clock_save()
103 if (tst_clock_gettime(CLOCK_MONOTONIC_RAW, &mono_end)) in tst_rtc_clock_restore()
Dtst_timer.c20 if (tst_clock_gettime(clk_id, &start_time)) { in tst_timer_check()
36 if (tst_clock_gettime(clock_id, &start_time)) in tst_timer_start()
44 if (tst_clock_gettime(clock_id, &cur_time)) in tst_timer_expired_ms()
52 if (tst_clock_gettime(clock_id, &stop_time)) in tst_timer_stop()
Dtst_clocks.c58 int tst_clock_gettime(clockid_t clk_id, struct timespec *ts) in tst_clock_gettime() function
151 ret = tst_clock_gettime(CLOCK_REALTIME_COARSE, &ts); in tst_get_fs_timestamp()
Dtst_test.c1263 if (tst_clock_gettime(CLOCK_MONOTONIC, &ts)) in get_time_ms()
1288 if (tst_clock_gettime(CLOCK_MONOTONIC, &tst_start_time)) in heartbeat()
1383 if (tst_clock_gettime(CLOCK_MONOTONIC, &now)) in tst_timeout_remaining()
Dparse_opts.c475 tst_clock_gettime(CLOCK_MONOTONIC, &ts); in get_current_time()
/third_party/ltp/include/
Dtst_clocks.h14 int tst_clock_gettime(clockid_t clk_id, struct timespec *ts);