Searched refs:nanoseconds (Results 1 – 5 of 5) sorted by relevance
25 return time_point_cast<nanoseconds>(system_clock::now()).time_since_epoch().count(); in nowNanos()
28 TimeDifference(time_t seconds, long nanoseconds, int64_t scale) : in TimeDifference() argument31 ts_.tv_nsec = nanoseconds; in TimeDifference()
47 auto nanos = duration_cast<std::chrono::nanoseconds>(timeout - seconds); in calculateTimeout()
46 auto nanos = duration_cast<std::chrono::nanoseconds>(timeout - seconds); in calculateTimeout()
287 const auto d = std::chrono::nanoseconds(t); in batchThread()