Home
last modified time | relevance | path

Searched refs:MsToNs (Results 1 – 20 of 20) sorted by relevance

/art/libartbase/base/
Dtime_utils_test.cc54 NanoSleep(MsToNs(1500)); in TEST()
55 EXPECT_GT(NanoTime() - start, MsToNs(1000)); in TEST()
Dtime_utils.h77 static constexpr inline uint64_t MsToNs(uint64_t ms) { in MsToNs() function
Dtime_utils.cc219 tm.tv_sec = ns / MsToNs(1000); in NanoSleep()
220 tm.tv_nsec = ns - static_cast<uint64_t>(tm.tv_sec) * MsToNs(1000); in NanoSleep()
/art/test/149-suspend-all-stress/
Dsuspend_all.cc37 while (NanoTime() - start_time < MsToNs(10 * 1000)) { in Java_Main_suspendAndResume()
/art/runtime/gc/
Dtask_processor_test.cc33 : 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()
Dtask_processor.cc72 const uint64_t ns_delta = delta_time - MsToNs(ms_delta); in GetTask()
Dheap.h142 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.
Dheap.cc1594 NanoSleep(MsToNs(10)); in IsLiveObjectLocked()
4287 self, new TriggerPostForkCCGcTask(NanoTime() + MsToNs(kPostForkMaxHeapDurationMS))); in PostForkChildAction()
/art/runtime/
Dbarrier.cc79 uint64_t abs_timeout = NanoTime() + MsToNs(timeout_ms); in Increment()
Druntime_options.def94MsToNs(100 * 1000)) // 100s
Dmonitor.cc593 << PrettyDuration(MsToNs(wait_ms)) << "\n" in Lock()
607 << PrettyDuration(MsToNs(wait_ms)); in Lock()
Dthread_list.cc64 static constexpr uint64_t kLongThreadSuspendThreshold = MsToNs(5);
/art/runtime/base/
Dtiming_logger_test.cc173 EXPECT_LT(cpu_timing, MsToNs(1000u)); in TEST_F()
174 EXPECT_GT(mon_timing, MsToNs(1000u)); in TEST_F()
/art/runtime/jit/
Dprofile_saver.cc138 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()
/art/cmdline/
Dcmdline_types.h264 return MillisecondsToNanoseconds(MsToNs(milliseconds));
/art/profman/
Dprofman.cc1492 static constexpr uint64_t kLogThresholdTime = MsToNs(100); // 100ms in LogCompletionTime()
/art/dex2oat/
Ddex2oat.cc2510 (kIsDebugBuild && timings_->GetTotalNs() > MsToNs(1000))) { in DumpTiming()
/art/dex2oat/driver/
Dcompiler_driver.cc449 if (duration_ns > MsToNs(driver->GetCompiler()->GetMaximumCompilationTimeBeforeWarning())) { in CompileMethodHarness()
/art/runtime/gc/space/
Dimage_space.cc1240 << PrettySize(static_cast<uint64_t>(map.Size()) * MsToNs(1000) / (time + 1)) in LoadImageFile()
/art/runtime/verifier/
Dmethod_verifier.cc5331 if (duration_ns > MsToNs(Runtime::Current()->GetVerifierLoggingThresholdMs())) { in VerifyMethod()