Home
last modified time | relevance | path

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

/external/ltp/testcases/realtime/lib/
Dlibrttest.c433 struct timespec *ts_sum) in ts_plus() argument
435 if (ts_a == NULL || ts_b == NULL || ts_sum == NULL) { in ts_plus()
441 ts_sum->tv_sec = ts_a->tv_sec + ts_b->tv_sec; in ts_plus()
442 ts_sum->tv_nsec = ts_a->tv_nsec + ts_b->tv_nsec; in ts_plus()
443 ts_normalize(ts_sum); in ts_plus()
/external/ltp/testcases/realtime/include/
Dlibrttest.h289 void ts_plus(struct timespec *ts_a, struct timespec *ts_b, struct timespec *ts_sum);