Home
last modified time | relevance | path

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

/art/runtime/base/
Dtime_utils_test.cc23 TEST(TimeUtilsTest, PrettyDuration) { in TEST() argument
28 EXPECT_EQ("1s", PrettyDuration(1 * one_sec)); in TEST()
29 EXPECT_EQ("10s", PrettyDuration(10 * one_sec)); in TEST()
30 EXPECT_EQ("100s", PrettyDuration(100 * one_sec)); in TEST()
31 EXPECT_EQ("1.001s", PrettyDuration(1 * one_sec + one_ms)); in TEST()
32 EXPECT_EQ("1.000001s", PrettyDuration(1 * one_sec + one_us, 6)); in TEST()
33 EXPECT_EQ("1.000000001s", PrettyDuration(1 * one_sec + 1, 9)); in TEST()
34 EXPECT_EQ("1.000s", PrettyDuration(1 * one_sec + one_us, 3)); in TEST()
36 EXPECT_EQ("1ms", PrettyDuration(1 * one_ms)); in TEST()
37 EXPECT_EQ("10ms", PrettyDuration(10 * one_ms)); in TEST()
[all …]
Dtime_utils.h38 std::string PrettyDuration(uint64_t nano_duration, size_t max_fraction_digits = 3);
Dtime_utils.cc35 std::string PrettyDuration(uint64_t nano_duration, size_t max_fraction_digits) { in PrettyDuration() function
Dtiming_logger.cc234 os << name_ << ": end, " << PrettyDuration(GetTotalNs()) << "\n"; in Dump()
Dhistogram-inl.h196 os << Name() << ":\tSum: " << PrettyDuration(Sum() * kAdjust) << " " in PrintConfidenceIntervals()
Dmutex.cc313 << " total wait of contender " << PrettyDuration(wait_time) in DumpContention()
314 << " average " << PrettyDuration(wait_time / contention_count); in DumpContention()
/art/runtime/gc/collector/
Dgarbage_collector.cc232 os << GetName() << " total time: " << PrettyDuration(total_ns) in DumpPerformanceInfo()
233 << " mean time: " << PrettyDuration(total_ns / iterations) << "\n" in DumpPerformanceInfo()
Dmark_sweep.cc1453 VLOG(gc) << "Overhead time " << PrettyDuration(overhead_time_.LoadRelaxed()); in FinishPhase()
/art/runtime/gc/
Dheap.cc810 LOG(INFO) << __FUNCTION__ << " blocked for " << PrettyDuration(wait_time); in IncrementDisableThreadFlip()
855 LOG(INFO) << __FUNCTION__ << " blocked for " << PrettyDuration(wait_time); in ThreadFlipBegin()
1009 os << "Total time spent in GC: " << PrettyDuration(total_duration) << "\n"; in DumpGcPerformanceInfo()
1027 os << "Total mutator paused time: " << PrettyDuration(total_paused_time) << "\n"; in DumpGcPerformanceInfo()
1028 os << "Total time waiting for GC to complete: " << PrettyDuration(total_wait_time_) << "\n"; in DumpGcPerformanceInfo()
1030 os << "Total GC time: " << PrettyDuration(GetGcTime()) << "\n"; in DumpGcPerformanceInfo()
1032 os << "Total blocking GC time: " << PrettyDuration(GetBlockingGcTime()) << "\n"; in DumpGcPerformanceInfo()
1283 << PrettyDuration(NanoTime() - start_time); in Trim()
1374 VLOG(heap) << "Heap trim of managed (duration=" << PrettyDuration(gc_heap_end_ns - start_ns) in TrimSpaces()
1937 VLOG(heap) << "Heap homogeneous space compaction took " << PrettyDuration(duration) << " size: " in PerformHomogeneousSpaceCompact()
[all …]
/art/runtime/gc/space/
Ddlmalloc_space.cc107 LOG(INFO) << "DlMallocSpace::Create exiting (" << PrettyDuration(NanoTime() - start_time) in Create()
Drosalloc_space.cc126 LOG(INFO) << "RosAllocSpace::Create exiting (" << PrettyDuration(NanoTime() - start_time) in Create()
Dimage_space.cc820 VLOG(image) << "Decompressing image took " << PrettyDuration(time) << " (" in LoadImageFile()
/art/runtime/
Dthread_list.cc370 LOG(WARNING) << "Long wait of " << PrettyDuration(total_delay) << " for " in RunCheckpoint()
667 LOG(WARNING) << "Suspending all threads took: " << PrettyDuration(suspend_time); in SuspendAll()
762 << PrettyDuration(NanoTime() - start_time); in SuspendAllInternal()
Dmonitor.cc478 << PrettyDuration(MsToNs(wait_ms)) << "\n" in Lock()
492 << PrettyDuration(MsToNs(wait_ms)); in Lock()
Dclass_linker.cc1980 VLOG(image) << "Adding class table classes took " << PrettyDuration(NanoTime() - start_time2); in AddImageSpace()
2046 VLOG(class_linker) << "Adding image space took " << PrettyDuration(NanoTime() - start_time); in AddImageSpace()
9004 LOG(INFO) << "Collecting class profile took " << PrettyDuration(NanoTime() - start_time); in GetResolvedClasses()
/art/runtime/jit/
Dprofile_saver.cc459 << PrettyDuration(NanoTime() - start_time); in FetchAndCacheResolvedClassesAndMethods()
/art/profman/
Dprofman.cc1086 LOG(WARNING) << "profman took " << PrettyDuration(time_taken); in LogCompletionTime()
/art/dex2oat/
Ddex2oat.cc2813 << PrettyDuration(NanoTime() - start_ns_) in LogCompletionTime()
2814 << " (" << PrettyDuration(ProcessCpuNanoTime() - start_cputime_ns_) << " cpu)" in LogCompletionTime()
/art/runtime/hprof/
Dhprof.cc482 << ") in " << PrettyDuration(duration) in Dump()
/art/compiler/driver/
Dcompiler_driver.cc614 << " took " << PrettyDuration(duration_ns); in CompileMethod()
/art/compiler/
Dimage_writer.cc278 << PrettyDuration(NanoTime() - compress_start_time); in Write()
/art/runtime/verifier/
Dmethod_verifier.cc492 << " took " << PrettyDuration(duration_ns) in VerifyMethod()