Home
last modified time | relevance | path

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

/freebsd/tools/regression/gaithrstress/
H A Dgaithrstress.c110 struct timespec ts_begintime, ts_total; in work() local
125 (void)clock_gettime(CLOCK_REALTIME, &ts_total); in work()
126 ts_total.tv_sec -= ts_begintime.tv_sec; in work()
127 ts_total.tv_nsec -= ts_begintime.tv_nsec; in work()
128 if (ts_total.tv_nsec < 0) { in work()
129 ts_total.tv_sec--; in work()
130 ts_total.tv_nsec += 1000000000; in work()
132 if (ts_total.tv_sec > w->w_max_lookup_time.tv_sec || in work()
133 (ts_total.tv_sec == w->w_max_lookup_time.tv_sec && in work()
134 ts_total.tv_nsec > w->w_max_lookup_time.tv_sec)) in work()
[all …]