Searched refs:ts_cnd (Results 1 – 1 of 1) sorted by relevance
190 struct timespec ts_cnd, ts_clk; in do_measure() local199 ret = clock_gettime(cid, &ts_cnd); in do_measure()204 ts_cnd.tv_nsec += MES_TIMEOUT; in do_measure()205 while (ts_cnd.tv_nsec >= 1000000000) { in do_measure()206 ts_cnd.tv_nsec -= 1000000000; in do_measure()207 ts_cnd.tv_sec++; in do_measure()212 rc = pthread_cond_timedwait(cnd, mtx, &ts_cnd); in do_measure()226 ts->tv_sec = ts_clk.tv_sec - ts_cnd.tv_sec; in do_measure()227 ts->tv_nsec = ts_clk.tv_nsec - ts_cnd.tv_nsec; in do_measure()