Searched refs:nanoseconds (Results 1 – 12 of 12) sorted by relevance
28 constexpr Milliseconds::Milliseconds(Nanoseconds nanoseconds) in Milliseconds() argument30 nanoseconds.toRawNanoseconds() / kOneMillisecondInNanoseconds) {} in Milliseconds()47 constexpr Microseconds::Microseconds(Nanoseconds nanoseconds) in Microseconds() argument49 nanoseconds.toRawNanoseconds() / kOneMicrosecondInNanoseconds) {} in Microseconds()66 constexpr Nanoseconds::Nanoseconds(uint64_t nanoseconds) in Nanoseconds() argument67 : mNanoseconds(nanoseconds) {} in Nanoseconds()
62 constexpr Milliseconds(Nanoseconds nanoseconds);97 constexpr Microseconds(Nanoseconds nanoseconds);132 constexpr explicit Nanoseconds(uint64_t nanoseconds);183 const Nanoseconds& nanoseconds);
133 ::nanoseconds(size_per_test / delay)); in main()155 ::nanoseconds(size_per_test / delay)); in main()168 ::nanoseconds(size_per_test / delay)); in main()177 …double ns_per_copy = chrono::duration_cast<chrono::nanoseconds>(copy_end - copy_start).count() / d… in main()
43 typedef std::chrono::nanoseconds duration;74 int wait_for_file(const char *filename, std::chrono::nanoseconds timeout);
206 std::chrono::nanoseconds(ts.tv_nsec)); in now()264 int wait_for_file(const char* filename, std::chrono::nanoseconds timeout) { in wait_for_file()
76 static constexpr std::chrono::nanoseconds kCommandRetryTimeout = 5s;
104 static void DurationToTimeSpec(timespec& ts, std::chrono::nanoseconds d) { in DurationToTimeSpec()106 auto ns = std::chrono::duration_cast<std::chrono::nanoseconds>(d - s); in DurationToTimeSpec()116 auto remaining_timeout = std::chrono::duration_cast<std::chrono::nanoseconds>(timeout - now); in UpdateTimeSpec()
146 inline void addNanosecondsToCurrentTime(int64_t nanoseconds, struct timespec* timeAbs);
50 std::this_thread::sleep_for(std::chrono::nanoseconds(1)); in medianSleepTime()
244 chrono::duration_cast<chrono::nanoseconds>(end - start).count()); in worker_fx()376 / (chrono::duration_cast < chrono::nanoseconds in main()
171 chrono::duration_cast<chrono::nanoseconds>(end - sta).count()); in tickNano()
135 accumulatedTime += static_cast<int64_t>(std::chrono::duration_cast<std::chrono::nanoseconds>( in TEST_F()