Home
last modified time | relevance | path

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

/external/ltp/lib/
Dtst_timer.c44 if (tst_clock_gettime(clk_id, &start_time)) { in tst_timer_check()
60 if (tst_clock_gettime(clock_id, &start_time)) in tst_timer_start()
68 if (tst_clock_gettime(clock_id, &cur_time)) in tst_timer_expired_ms()
76 if (tst_clock_gettime(clock_id, &stop_time)) in tst_timer_stop()
Dtst_wallclock.c25 if (tst_clock_gettime(CLOCK_REALTIME, &real_begin)) in tst_wallclock_save()
28 if (tst_clock_gettime(CLOCK_MONOTONIC_RAW, &mono_begin)) { in tst_wallclock_save()
49 if (tst_clock_gettime(CLOCK_MONOTONIC_RAW, &mono_end)) in tst_wallclock_restore()
Dtst_clocks.c22 int tst_clock_gettime(clockid_t clk_id, struct timespec *ts) in tst_clock_gettime() function
Dtst_test.c1057 if (tst_clock_gettime(CLOCK_MONOTONIC, &ts)) in get_time_ms()
1082 if (tst_clock_gettime(CLOCK_MONOTONIC, &tst_start_time)) in heartbeat()
1167 if (tst_clock_gettime(CLOCK_MONOTONIC, &now)) in tst_timeout_remaining()
Dparse_opts.c475 tst_clock_gettime(CLOCK_MONOTONIC, &ts); in get_current_time()
/external/ltp/include/
Dtst_clocks.h27 int tst_clock_gettime(clockid_t clk_id, struct timespec *ts);