Lines Matching refs:tp
82 struct timespec tp;
83 if (0 != clock_gettime(CLOCK_REALTIME, &tp))
85 return time_point(seconds(tp.tv_sec) + microseconds(tp.tv_nsec / 1000));
122 struct timespec tp;
123 if (0 != clock_gettime(CLOCK_UPTIME_RAW, &tp))
125 return time_point(seconds(tp.tv_sec) + nanoseconds(tp.tv_nsec));
219 struct timespec tp;
220 if (0 != clock_gettime(CLOCK_MONOTONIC, &tp))
222 return time_point(seconds(tp.tv_sec) + nanoseconds(tp.tv_nsec));