Home
last modified time | relevance | path

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

12

/art/libartbase/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.h45 std::string PrettyDuration(uint64_t nano_duration, size_t max_fraction_digits = 3);
Dtime_utils.cc53 std::string PrettyDuration(uint64_t nano_duration, size_t max_fraction_digits) { in PrettyDuration() function
Dhistogram-inl.h201 os << Name() << ":\tSum: " << PrettyDuration(Sum() * kAdjust) << " " in PrintConfidenceIntervals()
/art/runtime/base/
Dtiming_logger.cc122 << ":\tSum: " << PrettyDuration(total_time_ns) in DumpAverages()
123 << " Avg: " << PrettyDuration(total_time_ns / iterations_) << "\n"; in DumpAverages()
233 os << name_ << ": end, " << PrettyDuration(GetTotalNs()) << "\n"; in Dump()
Dmutex.cc363 << " total wait of contender " << PrettyDuration(wait_time) in DumpContention()
364 << " average " << PrettyDuration(wait_time / contention_count); in DumpContention()
/art/runtime/verifier/
Dclass_verifier.cc175 VLOG(verifier) << "VerifyClass took " << PrettyDuration(UsToNs(elapsed_time_microseconds)) in VerifyClass()
/art/runtime/gc/collector/
Dgarbage_collector.cc426 os << GetName() << " total time: " << PrettyDuration(total_ns) in DumpPerformanceInfo()
427 << " mean time: " << PrettyDuration(total_ns / iterations) << "\n" in DumpPerformanceInfo()
Dmark_sweep.cc1480 VLOG(gc) << "Overhead time " << PrettyDuration(overhead_time_.load(std::memory_order_relaxed)); in FinishPhase()
Dconcurrent_copying.cc3919 os << "Total madvise time " << PrettyDuration(region_space_->GetMadviseTime()) << "\n"; in DumpPerformanceInfo()
/art/compiler/jit/
Djit_compiler.cc207 << PrettyDuration(UsToNs(duration_us)); in CompileMethod()
/art/runtime/gc/
Dheap.cc1032 LOG(INFO) << __FUNCTION__ << " blocked for " << PrettyDuration(wait_time); in IncrementDisableThreadFlip()
1090 LOG(INFO) << __FUNCTION__ << " blocked for " << PrettyDuration(wait_time); in ThreadFlipBegin()
1287 os << "Total time spent in GC: " << PrettyDuration(total_duration) << "\n"; in DumpGcPerformanceInfo()
1303 os << "Total mutator paused time: " << PrettyDuration(total_paused_time) << "\n"; in DumpGcPerformanceInfo()
1304 os << "Total time waiting for GC to complete: " << PrettyDuration(total_wait_time_) << "\n"; in DumpGcPerformanceInfo()
1306 os << "Total GC time: " << PrettyDuration(GetGcTime()) << "\n"; in DumpGcPerformanceInfo()
1308 os << "Total blocking GC time: " << PrettyDuration(GetBlockingGcTime()) << "\n"; in DumpGcPerformanceInfo()
1608 << PrettyDuration(NanoTime() - start_time); in Trim()
1735 VLOG(heap) << "Heap trim of managed (duration=" << PrettyDuration(gc_heap_end_ns - start_ns) in TrimSpaces()
2253 VLOG(heap) << "Heap homogeneous space compaction took " << PrettyDuration(duration) << " size: " in PerformHomogeneousSpaceCompact()
[all …]
/art/runtime/oat/
Dimage.cc313 << PrettyDuration(NanoTime() - compress_start_time); in CompressData()
/art/runtime/gc/space/
Ddlmalloc_space.cc195 LOG(INFO) << "DlMallocSpace::Create exiting (" << PrettyDuration(NanoTime() - start_time) in Create()
Drosalloc_space.cc173 LOG(INFO) << "RosAllocSpace::Create exiting (" << PrettyDuration(NanoTime() - start_time) in Create()
Dimage_space.cc1078 << block.GetImageSize() << " in " << PrettyDuration(NanoTime() - start2); in LoadImageFile()
1094 VLOG(image) << "Decompressing image took " << PrettyDuration(time) << " (" in LoadImageFile()
/art/runtime/
Dthread_list.cc765 " Final wait time: " + PrettyDuration(NanoTime() - start_time) : in WaitForSuspendBarrier()
807 LOG(WARNING) << "Suspending all threads took: " << PrettyDuration(suspend_time); in SuspendAll()
Dmonitor.cc598 << PrettyDuration(MsToNs(wait_ms)) << "\n" in Lock()
612 << PrettyDuration(MsToNs(wait_ms)); in Lock()
Druntime.cc387 LOG_STREAM(INFO) << "GC CPU time " << PrettyDuration(gc_cpu_time) in ~Runtime()
388 << " out of process CPU time " << PrettyDuration(process_cpu_time) in ~Runtime()
/art/runtime/jit/
Dprofile_saver.cc780 << " sampled methods in " << PrettyDuration(NanoTime() - start_time); in FetchAndCacheResolvedClassesAndMethods()
Djit.cc840 << PrettyDuration(ThreadCpuNanoTime() - start_ns); in Run()
/art/dex2oat/
Ddex2oat.cc2864 << PrettyDuration(NanoTime() - start_ns_) in LogCompletionTime()
2865 << " (" << PrettyDuration(ProcessCpuNanoTime() - start_cputime_ns_) << " cpu)" in LogCompletionTime()
/art/runtime/hprof/
Dhprof.cc476 << ") in " << PrettyDuration(duration) in Dump()
/art/profman/
Dprofman.cc1965 LOG(WARNING) << "profman took " << PrettyDuration(time_taken); in LogCompletionTime()
/art/dex2oat/driver/
Dcompiler_driver.cc400 << " took " << PrettyDuration(duration_ns); in CompileMethodHarness()

12