Home
last modified time | relevance | path

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

/art/runtime/base/
Dtime_utils_test.cc54 NanoSleep(MsToNs(1500)); in TEST()
55 EXPECT_GT(NanoTime() - start, MsToNs(1000)); in TEST()
Dtime_utils.h71 static constexpr inline uint64_t MsToNs(uint64_t ms) { in MsToNs() function
Dtime_utils.cc172 tm.tv_sec = ns / MsToNs(1000); in NanoSleep()
173 tm.tv_nsec = ns - static_cast<uint64_t>(tm.tv_sec) * MsToNs(1000); in NanoSleep()
/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.cc67 const uint64_t ns_delta = delta_time - MsToNs(ms_delta); in GetTask()
Dheap.h129 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.
Dheap.cc115 static constexpr uint64_t kNativeAllocationFinalizeTimeout = MsToNs(250u);
1543 NanoSleep(MsToNs(10)); in IsLiveObjectLocked()
/art/runtime/
Dbarrier.cc68 uint64_t abs_timeout = NanoTime() + MsToNs(timeout_ms); in Increment()
Dthread_list.cc53 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()
Druntime_options.def81MsToNs(100 * 1000)) // 100s
Dmonitor.cc410 << " in " << PrettyMethod(m) << " for " << PrettyDuration(MsToNs(wait_ms)); in Lock()
/art/runtime/jit/
Dprofile_saver.cc36 static constexpr const uint64_t kMinSavePeriodNs = MsToNs(20 * 1000); // 20 seconds
90 const uint64_t end_time = NanoTime() + MsToNs(kSleepTime); in Run()
/art/profman/
Dprofman.cc336 static constexpr uint64_t kLogThresholdTime = MsToNs(100); // 100ms in LogCompletionTime()
/art/cmdline/
Dcmdline_types.h322 return MillisecondsToNanoseconds(MsToNs(milliseconds));
/art/dex2oat/
Ddex2oat.cc1843 if (dump_timing_ || (dump_slow_timing_ && timings_->GetTotalNs() > MsToNs(1000))) { in DumpTiming()
/art/compiler/driver/
Dcompiler_driver.cc643 if (duration_ns > MsToNs(driver->GetCompiler()->GetMaximumCompilationTimeBeforeWarning())) { in CompileMethod()
/art/runtime/verifier/
Dmethod_verifier.cc449 if (duration_ns > MsToNs(100)) { in VerifyMethod()