Home
last modified time | relevance | path

Searched refs:PrettyDuration (Results 1 – 18 of 18) sorted by relevance

/art/runtime/
Dutils_test.cc177 TEST_F(UtilsTest, PrettyDuration) { in TEST_F() argument
182 EXPECT_EQ("1s", PrettyDuration(1 * one_sec)); in TEST_F()
183 EXPECT_EQ("10s", PrettyDuration(10 * one_sec)); in TEST_F()
184 EXPECT_EQ("100s", PrettyDuration(100 * one_sec)); in TEST_F()
185 EXPECT_EQ("1.001s", PrettyDuration(1 * one_sec + one_ms)); in TEST_F()
186 EXPECT_EQ("1.000001s", PrettyDuration(1 * one_sec + one_us, 6)); in TEST_F()
187 EXPECT_EQ("1.000000001s", PrettyDuration(1 * one_sec + 1, 9)); in TEST_F()
188 EXPECT_EQ("1.000s", PrettyDuration(1 * one_sec + one_us, 3)); in TEST_F()
190 EXPECT_EQ("1ms", PrettyDuration(1 * one_ms)); in TEST_F()
191 EXPECT_EQ("10ms", PrettyDuration(10 * one_ms)); in TEST_F()
[all …]
Dutils.h324 std::string PrettyDuration(uint64_t nano_duration, size_t max_fraction_digits = 3);
Dthread_list.cc345 LOG(WARNING) << "Suspending all threads took: " << PrettyDuration(end_time - start_time); in SuspendAll()
Dprofiler.cc210 << PrettyDuration((end_us - start_us) * 1000); in RunProfilerThread()
Dmonitor.cc281 << PrettyDuration(MsToNs(wait_ms)); in Lock()
Dutils.cc477 std::string PrettyDuration(uint64_t nano_duration, size_t max_fraction_digits) { in PrettyDuration() function
/art/runtime/gc/
Dheap.cc816 os << collector->GetName() << " total time: " << PrettyDuration(total_ns) in DumpGcPerformanceInfo()
817 << " mean time: " << PrettyDuration(total_ns / iterations) << "\n" in DumpGcPerformanceInfo()
831 os << "Total time spent in GC: " << PrettyDuration(total_duration) << "\n"; in DumpGcPerformanceInfo()
847 os << "Total time spent allocating: " << PrettyDuration(allocation_time) << "\n"; in DumpGcPerformanceInfo()
848 os << "Mean allocation time: " << PrettyDuration(allocation_time / total_objects_allocated) in DumpGcPerformanceInfo()
851 os << "Total mutator paused time: " << PrettyDuration(total_paused_time) << "\n"; in DumpGcPerformanceInfo()
852 os << "Total time waiting for GC to complete: " << PrettyDuration(total_wait_time_) << "\n"; in DumpGcPerformanceInfo()
976 << PrettyDuration(NanoTime() - start_time); in DoPendingTransitionOrTrim()
1043 VLOG(heap) << "Heap trim of managed (duration=" << PrettyDuration(gc_heap_end_ns - start_ns) in Trim()
1045 << PrettyDuration(end_ns - gc_heap_end_ns) << ", advised=" << PrettySize(native_reclaimed) in Trim()
[all …]
/art/runtime/base/
Dtiming_logger.cc232 os << name_ << ": end, " << PrettyDuration(GetTotalNs()) << "\n"; in Dump()
Dhistogram-inl.h173 os << Name() << ":\tSum: " << PrettyDuration(Sum() * kAdjust) << " " in PrintConfidenceIntervals()
Dmutex.cc218 << " total wait of contender " << PrettyDuration(wait_time) in DumpContention()
219 << " average " << PrettyDuration(wait_time / contention_count); in DumpContention()
/art/runtime/gc/space/
Ddlmalloc_space.cc106 LOG(INFO) << "DlMallocSpace::Create exiting (" << PrettyDuration(NanoTime() - start_time) in Create()
Drosalloc_space.cc119 LOG(INFO) << "RosAllocSpace::Create exiting (" << PrettyDuration(NanoTime() - start_time) in Create()
Dimage_space.cc658 LOG(INFO) << "ImageSpace::Init exiting (" << PrettyDuration(NanoTime() - start_time) in Init()
/art/runtime/hprof/
Dhprof.cc494 << ") in " << PrettyDuration(duration); in Dump()
/art/runtime/gc/collector/
Dmark_sweep.cc1252 VLOG(gc) << "Overhead time " << PrettyDuration(overhead_time_.LoadRelaxed()); in FinishPhase()
/art/dex2oat/
Ddex2oat.cc268 LOG(INFO) << "dex2oat took " << PrettyDuration(NanoTime() - start_ns_) in LogCompletionTime()
/art/compiler/driver/
Dcompiler_driver.cc2037 << " took " << PrettyDuration(duration_ns); in CompileMethod()
/art/runtime/verifier/
Dmethod_verifier.cc283 << " took " << PrettyDuration(duration_ns); in VerifyMethod()