Searched refs:nsecs (Results 1 – 10 of 10) sorted by relevance
41 nanoseconds nsecs = duration_cast<nanoseconds>(deadline - secs); in Timepoint2Timespec() local43 to->tv_nsec = static_cast<int32_t>(nsecs.count()); in Timepoint2Timespec()57 nanoseconds nsecs = duration_cast<nanoseconds>(deadline - secs); in TimepointHR2Timespec() local59 to->tv_nsec = static_cast<int32_t>(nsecs.count()); in TimepointHR2Timespec()
76 unsigned long long nsecs; in tv_minus() local77 nsecs = (tv_end->tv_sec - tv_start->tv_sec) * 1000000000ULL; in tv_minus()78 nsecs += (tv_end->tv_usec - tv_start->tv_usec) * 1000; in tv_minus()79 return nsecs; in tv_minus()
84 double nsecs = op.cycles / clock_rate_ghz_; in ToString() local93 op.flop_count > 0 && nsecs > 0 in ToString()94 ? HumanReadableNumFlops(op.flop_count, nsecs) in ToString()96 op.transcendental_count > 0 && nsecs > 0 in ToString()97 ? HumanReadableNumTranscendentalOps(op.transcendental_count, nsecs) in ToString()
45 thread_blocktime[tid] = nsecs(s, ns)50 elapsed = nsecs(s, ns) - thread_blocktime[tid]
62 thread_blocktime[tid] = nsecs(s, ns)72 elapsed = nsecs(s, ns) - thread_blocktime[tid]
63 auto nsecs = duration_cast<NanoSec>(ft.time_since_epoch() - secs); in ConvertToTimeSpec() local64 if (nsecs.count() < 0) { in ConvertToTimeSpec()67 nsecs -= Sec(1); in ConvertToTimeSpec()69 nsecs = NanoSec(0); in ConvertToTimeSpec()74 if (NSecLim::max() < nsecs.count() || NSecLim::min() > nsecs.count()) in ConvertToTimeSpec()77 ts.tv_nsec = nsecs.count(); in ConvertToTimeSpec()
9 nsecs : count distribution55 nsecs : count distribution90 nsecs : count distribution114 nsecs : count distribution
331 auto nsecs = duration_cast<fs_nanoseconds>(tm.time_since_epoch() - secs);332 if (nsecs.count() < 0) {334 nsecs = nsecs + fs_seconds(1);
273 a ``timespec`` by passing ``{secs, nsecs}``. Instead we're limited to345 fs_nsec nsecs(fs_seconds::max()); // Truncates
476 usecs (ms * 1000), while the itimerspec struct wants nsecs (ms * 1000 *