Searched refs:tst_clock_gettime (Results 1 – 6 of 6) sorted by relevance
/third_party/ltp/lib/ |
D | tst_wallclock.c | 28 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()
|
D | tst_timer.c | 20 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()
|
D | tst_clocks.c | 58 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()
|
D | tst_test.c | 1263 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()
|
D | parse_opts.c | 475 tst_clock_gettime(CLOCK_MONOTONIC, &ts); in get_current_time()
|
/third_party/ltp/include/ |
D | tst_clocks.h | 14 int tst_clock_gettime(clockid_t clk_id, struct timespec *ts);
|