Searched refs:MsToNs (Results 1 – 17 of 17) sorted by relevance
54 NanoSleep(MsToNs(1500)); in TEST()55 EXPECT_GT(NanoTime() - start, MsToNs(1000)); in TEST()
71 static constexpr inline uint64_t MsToNs(uint64_t ms) { in MsToNs() function
172 tm.tv_sec = ns / MsToNs(1000); in NanoSleep()173 tm.tv_nsec = ns - static_cast<uint64_t>(tm.tv_sec) * MsToNs(1000); in NanoSleep()
33 : HeapTask(NanoTime() + MsToNs(10)), task_processor_(task_processor), counter_(counter), in RecursiveTask()127 orderings.push_back(std::make_pair(current_time + MsToNs(10U * i), i)); in TEST_F()
67 const uint64_t ns_delta = delta_time - MsToNs(ms_delta); in GetTask()
129 static constexpr size_t kDefaultLongPauseLogThreshold = MsToNs(5);130 static constexpr size_t kDefaultLongGCLogThreshold = MsToNs(100);150 static constexpr uint64_t kHeapTrimWait = MsToNs(5000);152 static constexpr uint64_t kCollectorTransitionWait = MsToNs(5000);1318 static constexpr uint64_t kGcCountRateHistogramWindowDuration = MsToNs(10 * 1000); // 10s.
115 static constexpr uint64_t kNativeAllocationFinalizeTimeout = MsToNs(250u);1543 NanoSleep(MsToNs(10)); in IsLiveObjectLocked()
68 uint64_t abs_timeout = NanoTime() + MsToNs(timeout_ms); in Increment()
53 static constexpr uint64_t kLongThreadSuspendThreshold = MsToNs(5);335 constexpr uint64_t kLongWaitThreshold = MsToNs(1); in RunCheckpoint()804 if (total_delay >= MsToNs(kThreadSuspendTimeoutMs)) { in SuspendThreadByPeer()905 if (total_delay >= MsToNs(kThreadSuspendTimeoutMs)) { in SuspendThreadByThreadId()
81 … MsToNs(100 * 1000)) // 100s
410 << " in " << PrettyMethod(m) << " for " << PrettyDuration(MsToNs(wait_ms)); in Lock()
36 static constexpr const uint64_t kMinSavePeriodNs = MsToNs(20 * 1000); // 20 seconds90 const uint64_t end_time = NanoTime() + MsToNs(kSleepTime); in Run()
336 static constexpr uint64_t kLogThresholdTime = MsToNs(100); // 100ms in LogCompletionTime()
322 return MillisecondsToNanoseconds(MsToNs(milliseconds));
1843 if (dump_timing_ || (dump_slow_timing_ && timings_->GetTotalNs() > MsToNs(1000))) { in DumpTiming()
643 if (duration_ns > MsToNs(driver->GetCompiler()->GetMaximumCompilationTimeBeforeWarning())) { in CompileMethod()
449 if (duration_ns > MsToNs(100)) { in VerifyMethod()