Lines Matching defs:ts
75 struct timespec ts[1];77 clock_gettime(CLOCK_MONOTONIC, ts);78 return (double)ts->tv_sec + ts->tv_nsec/1e9;84 struct timespec ts;87 ts.tv_sec = (time_t)delay;88 ts.tv_nsec = (long)((delay - ts.tv_sec)*1e9);91 ret = nanosleep(&ts, &ts);