Searched refs:MsToNs (Results 1 – 20 of 20) sorted by relevance
54 NanoSleep(MsToNs(1500)); in TEST()55 EXPECT_GT(NanoTime() - start, MsToNs(1000)); in TEST()
77 static constexpr inline uint64_t MsToNs(uint64_t ms) { in MsToNs() function
219 tm.tv_sec = ns / MsToNs(1000); in NanoSleep()220 tm.tv_nsec = ns - static_cast<uint64_t>(tm.tv_sec) * MsToNs(1000); in NanoSleep()
37 while (NanoTime() - start_time < MsToNs(10 * 1000)) { in Java_Main_suspendAndResume()
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()
72 const uint64_t ns_delta = delta_time - MsToNs(ms_delta); in GetTask()
142 static constexpr size_t kDefaultLongPauseLogThreshold = MsToNs(5);143 static constexpr size_t kDefaultLongGCLogThreshold = MsToNs(100);181 static constexpr uint64_t kHeapTrimWait = MsToNs(5000);183 static constexpr uint64_t kCollectorTransitionWait = MsToNs(5000);1566 static constexpr uint64_t kGcCountRateHistogramWindowDuration = MsToNs(10 * 1000); // 10s.
1594 NanoSleep(MsToNs(10)); in IsLiveObjectLocked()4287 self, new TriggerPostForkCCGcTask(NanoTime() + MsToNs(kPostForkMaxHeapDurationMS))); in PostForkChildAction()
79 uint64_t abs_timeout = NanoTime() + MsToNs(timeout_ms); in Increment()
94 … MsToNs(100 * 1000)) // 100s
593 << PrettyDuration(MsToNs(wait_ms)) << "\n" in Lock()607 << PrettyDuration(MsToNs(wait_ms)); in Lock()
64 static constexpr uint64_t kLongThreadSuspendThreshold = MsToNs(5);
173 EXPECT_LT(cpu_timing, MsToNs(1000u)); in TEST_F()174 EXPECT_GT(mon_timing, MsToNs(1000u)); in TEST_F()
138 const uint64_t end_time = NanoTime() + MsToNs(options_.GetSaveResolvedClassesDelayMs()); in Run()183 uint64_t min_save_period_ns = MsToNs(options_.GetMinSavePeriodMs()); in Run()240 if ((NanoTime() - last_time_ns_saver_woke_up_) > MsToNs(options_.GetMinSavePeriodMs())) { in NotifyJitActivityInternal()
264 return MillisecondsToNanoseconds(MsToNs(milliseconds));
1492 static constexpr uint64_t kLogThresholdTime = MsToNs(100); // 100ms in LogCompletionTime()
2510 (kIsDebugBuild && timings_->GetTotalNs() > MsToNs(1000))) { in DumpTiming()
449 if (duration_ns > MsToNs(driver->GetCompiler()->GetMaximumCompilationTimeBeforeWarning())) { in CompileMethodHarness()
1240 << PrettySize(static_cast<uint64_t>(map.Size()) * MsToNs(1000) / (time + 1)) in LoadImageFile()
5331 if (duration_ns > MsToNs(Runtime::Current()->GetVerifierLoggingThresholdMs())) { in VerifyMethod()