Home
last modified time | relevance | path

Searched refs:ts_sum (Results 1 – 2 of 2) sorted by relevance

/external/ltp/testcases/realtime/lib/
Dlibrttest.c428 struct timespec *ts_sum) in ts_plus() argument
430 if (ts_a == NULL || ts_b == NULL || ts_sum == NULL) { in ts_plus()
436 ts_sum->tv_sec = ts_a->tv_sec + ts_b->tv_sec; in ts_plus()
437 ts_sum->tv_nsec = ts_a->tv_nsec + ts_b->tv_nsec; in ts_plus()
438 ts_normalize(ts_sum); in ts_plus()
/external/ltp/testcases/realtime/include/
Dlibrttest.h290 void ts_plus(struct timespec *ts_a, struct timespec *ts_b, struct timespec *ts_sum);