Home
last modified time | relevance | path

Searched refs:MsToNs (Results 1 – 18 of 18) 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.h76 static constexpr inline uint64_t MsToNs(uint64_t ms) { in MsToNs() function
Dtime_utils.cc212 tm.tv_sec = ns / MsToNs(1000); in NanoSleep()
213 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.h136 static constexpr size_t kDefaultLongPauseLogThreshold = MsToNs(5);
137 static constexpr size_t kDefaultLongGCLogThreshold = MsToNs(100);
174 static constexpr uint64_t kHeapTrimWait = MsToNs(5000);
176 static constexpr uint64_t kCollectorTransitionWait = MsToNs(5000);
1512 static constexpr uint64_t kGcCountRateHistogramWindowDuration = MsToNs(10 * 1000); // 10s.
Dheap.cc1574 NanoSleep(MsToNs(10)); in IsLiveObjectLocked()
4430 self, new TriggerPostForkCCGcTask(NanoTime() + MsToNs(kPostForkMaxHeapDurationMS))); in PostForkChildAction()
/art/runtime/
Dbarrier.cc79 uint64_t abs_timeout = NanoTime() + MsToNs(timeout_ms); in Increment()
Dthread_list.h50 static constexpr uint64_t kDefaultThreadSuspendTimeout = MsToNs(kIsDebugBuild ? 50000 : 10000);
Druntime_options.def88MsToNs(100 * 1000)) // 100s
Dthread_list.cc64 static constexpr uint64_t kLongThreadSuspendThreshold = MsToNs(5);
381 constexpr uint64_t kLongWaitThreshold = MsToNs(1); in RunCheckpoint()
Dmonitor.cc560 << PrettyDuration(MsToNs(wait_ms)) << "\n" in Lock()
574 << PrettyDuration(MsToNs(wait_ms)); in Lock()
/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.cc132 const uint64_t end_time = NanoTime() + MsToNs(options_.GetSaveResolvedClassesDelayMs()); in Run()
177 uint64_t min_save_period_ns = MsToNs(options_.GetMinSavePeriodMs()); in Run()
234 if ((NanoTime() - last_time_ns_saver_woke_up_) > MsToNs(options_.GetMinSavePeriodMs())) { in NotifyJitActivityInternal()
/art/cmdline/
Dcmdline_types.h254 return MillisecondsToNanoseconds(MsToNs(milliseconds));
/art/profman/
Dprofman.cc1309 static constexpr uint64_t kLogThresholdTime = MsToNs(100); // 100ms in LogCompletionTime()
/art/dex2oat/
Ddex2oat.cc2222 (kIsDebugBuild && timings_->GetTotalNs() > MsToNs(1000))) { in DumpTiming()