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.cc32 std::string PrettyDuration(uint64_t nano_duration, size_t max_fraction_digits) { in PrettyDuration() function
Dtiming_logger.cc232 os << name_ << ": end, " << PrettyDuration(GetTotalNs()) << "\n"; in Dump()
Dhistogram-inl.h195 os << Name() << ":\tSum: " << PrettyDuration(Sum() * kAdjust) << " " in PrintConfidenceIntervals()
Dmutex.cc265 << " total wait of contender " << PrettyDuration(wait_time) in DumpContention()
266 << " average " << PrettyDuration(wait_time / contention_count); in DumpContention()
/art/runtime/gc/collector/
Dgarbage_collector.cc208 os << GetName() << " total time: " << PrettyDuration(total_ns) in DumpPerformanceInfo()
209 << " mean time: " << PrettyDuration(total_ns / iterations) << "\n" in DumpPerformanceInfo()
Dmark_sweep.cc1454 VLOG(gc) << "Overhead time " << PrettyDuration(overhead_time_.LoadRelaxed()); in FinishPhase()
/art/runtime/gc/
Dheap.cc877 LOG(INFO) << __FUNCTION__ << " blocked for " << PrettyDuration(wait_time); in IncrementDisableThreadFlip()
922 LOG(INFO) << __FUNCTION__ << " blocked for " << PrettyDuration(wait_time); in ThreadFlipBegin()
1151 os << "Total time spent in GC: " << PrettyDuration(total_duration) << "\n"; in DumpGcPerformanceInfo()
1169 os << "Total mutator paused time: " << PrettyDuration(total_paused_time) << "\n"; in DumpGcPerformanceInfo()
1170 os << "Total time waiting for GC to complete: " << PrettyDuration(total_wait_time_) << "\n"; in DumpGcPerformanceInfo()
1172 os << "Total GC time: " << PrettyDuration(GetGcTime()) << "\n"; in DumpGcPerformanceInfo()
1174 os << "Total blocking GC time: " << PrettyDuration(GetBlockingGcTime()) << "\n"; in DumpGcPerformanceInfo()
1385 << PrettyDuration(NanoTime() - start_time); in Trim()
1476 VLOG(heap) << "Heap trim of managed (duration=" << PrettyDuration(gc_heap_end_ns - start_ns) in TrimSpaces()
2076 VLOG(heap) << "Heap homogeneous space compaction took " << PrettyDuration(duration) << " size: " in PerformHomogeneousSpaceCompact()
[all …]
/art/profman/
Dprofman.cc339 LOG(WARNING) << "profman took " << PrettyDuration(time_taken); in LogCompletionTime()
/art/runtime/gc/space/
Ddlmalloc_space.cc106 LOG(INFO) << "DlMallocSpace::Create exiting (" << PrettyDuration(NanoTime() - start_time) in Create()
Drosalloc_space.cc125 LOG(INFO) << "RosAllocSpace::Create exiting (" << PrettyDuration(NanoTime() - start_time) in Create()
Dimage_space.cc1301 VLOG(image) << "Decompressing image took " << PrettyDuration(NanoTime() - start); in Init()
/art/runtime/
Dthread_list.cc338 LOG(WARNING) << "Long wait of " << PrettyDuration(total_delay) << " for " in RunCheckpoint()
500 LOG(WARNING) << "Suspending all threads took: " << PrettyDuration(suspend_time); in SuspendAll()
Dprofiler.cc213 << PrettyDuration((end_us - start_us) * 1000); in RunProfilerThread()
Dmonitor.cc410 << " in " << PrettyMethod(m) << " for " << PrettyDuration(MsToNs(wait_ms)); in Lock()
Dclass_linker.cc1764 VLOG(image) << "Adding class table classes took " << PrettyDuration(NanoTime() - start_time2); in AddImageSpace()
1813 VLOG(class_linker) << "Adding image space took " << PrettyDuration(NanoTime() - start_time); in AddImageSpace()
8101 VLOG(class_linker) << "Collecting class profile took " << PrettyDuration(NanoTime() - start_time); in GetResolvedClasses()
/art/runtime/hprof/
Dhprof.cc462 << ") in " << PrettyDuration(duration) in Dump()
/art/dex2oat/
Ddex2oat.cc2390 LOG(INFO) << "dex2oat took " << PrettyDuration(NanoTime() - start_ns_) in LogCompletionTime()
/art/compiler/
Dimage_writer.cc270 << PrettyDuration(NanoTime() - compress_start_time); in Write()
/art/compiler/driver/
Dcompiler_driver.cc645 << " took " << PrettyDuration(duration_ns); in CompileMethod()
/art/runtime/verifier/
Dmethod_verifier.cc451 << " took " << PrettyDuration(duration_ns) in VerifyMethod()