Searched refs:tst_timespec_diff (Results 1 – 5 of 5) sorted by relevance
/external/ltp/include/ |
D | tst_timer.h | 193 static inline struct timespec tst_timespec_diff(struct timespec t1, in tst_timespec_diff() function 219 return tst_timespec_to_us(tst_timespec_diff(t1, t2)); in tst_timespec_diff_us() 225 return tst_timespec_to_ms(tst_timespec_diff(t1, t2)); in tst_timespec_diff_ms() 267 return tst_timespec_diff(t2, t1); in tst_timespec_abs_diff() 269 return tst_timespec_diff(t1, t2); in tst_timespec_abs_diff()
|
/external/ltp/lib/ |
D | tst_wallclock.c | 52 elapsed = tst_timespec_diff(mono_end, mono_begin); in tst_wallclock_restore()
|
D | tst_timer.c | 82 return tst_timespec_diff(stop_time, start_time); in tst_timer_elapsed()
|
/external/ltp/testcases/kernel/syscalls/nanosleep/ |
D | nanosleep02.c | 62 exp_rem = tst_timespec_diff(timereq, tst_timer_elapsed()); in do_child()
|
/external/ltp/doc/ |
D | test-writing-guidelines.txt | 1364 struct timespec tst_timespec_diff(struct timespec t1, struct timespec t2); 1381 The 'tst_timespec_diff*()' functions returns difference between two times, the
|