Home
last modified time | relevance | path

Searched refs:NsToMs (Results 1 – 8 of 8) sorted by relevance

/art/runtime/gc/collector/
Dgarbage_collector.cc108 return (static_cast<uint64_t>(freed_.bytes) * 1000) / (NsToMs(GetDurationNs()) + 1); in GetEstimatedThroughput()
245 metrics->TotalGcCollectionTime()->Add(NsToMs(duration_ns)); in Run()
246 metrics->TotalGcCollectionTimeDelta()->Add(NsToMs(duration_ns)); in Run()
251 gc_time_histogram_->Add(NsToMs(duration_ns)); in Run()
269 gc_duration_->Add(NsToMs(current_iteration->GetDurationNs())); in Run()
270 gc_duration_delta_->Add(NsToMs(current_iteration->GetDurationNs())); in Run()
305 return (total_freed_bytes_ * 1000) / (NsToMs(GetCumulativeTimings().GetTotalNs()) + 1); in GetEstimatedMeanThroughput()
394 const double seconds = NsToMs(total_ns) / 1000.0; in DumpPerformanceInfo()
425 const double cpu_seconds = NsToMs(GetTotalCpuTime()) / 1000.0; in DumpPerformanceInfo()
/art/libartbase/base/
Dtime_utils.h76 static constexpr uint64_t NsToMs(uint64_t ns) { in NsToMs() function
/art/runtime/native/
Ddalvik_system_VMDebug.cc329 std::string output = std::to_string(NsToMs(heap->GetGcTime())); in VMDebug_getRuntimeStatInternal()
345 std::string output = std::to_string(NsToMs(heap->GetBlockingGcTime())); in VMDebug_getRuntimeStatInternal()
413 std::to_string(NsToMs(heap->GetGcTime())))) { in VMDebug_getRuntimeStatsInternal()
437 std::to_string(NsToMs(heap->GetBlockingGcTime())))) { in VMDebug_getRuntimeStatsInternal()
/art/runtime/gc/
Dtask_processor.cc71 const uint64_t ms_delta = NsToMs(delta_time); in GetTask()
Dheap.cc1313 os << "Histogram of GC count per " << NsToMs(kGcCountRateHistogramWindowDuration) << " ms: "; in DumpGcPerformanceInfo()
1319 << NsToMs(kGcCountRateHistogramWindowDuration) << " ms: "; in DumpGcPerformanceInfo()
/art/runtime/jit/
Dprofile_saver.cc149 period_condition_.TimedWait(self, NsToMs(end_time - current_time), 0); in Run()
151 total_ms_of_sleep_ += NsToMs(NanoTime() - start_time); in Run()
195 period_condition_.TimedWait(self, NsToMs(min_save_period_ns - sleep_time), 0); in Run()
204 total_ms_of_sleep_ += NsToMs(NanoTime() - sleep_start); in Run()
1194 << "ProfileSaver total_ms_of_work=" << NsToMs(total_ns_of_work_) << '\n' in DumpInfo()
/art/runtime/
Dthread_list.cc676 CHECK_GE(NsToMs(timeout_ns / kSuspendBarrierIters), 1ul); in WaitOnceForSuspendBarrier()
678 DCHECK_GE(NsToMs(timeout_ns / kSuspendBarrierIters), 10ul); in WaitOnceForSuspendBarrier()
680 InitTimeSpec(false, CLOCK_MONOTONIC, NsToMs(timeout_ns / kSuspendBarrierIters), 0, &wait_timeout); in WaitOnceForSuspendBarrier()
787 NsToMs(thread_suspend_timeout_ns_), in SuspendAll()
/art/cmdline/
Dcmdline_types.h303 return NsToMs(nanoseconds_);