Home
last modified time | relevance | path

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

12

/aosp12/art/libartbase/base/
H A 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()
36 EXPECT_EQ("1ms", PrettyDuration(1 * one_ms)); in TEST()
37 EXPECT_EQ("10ms", PrettyDuration(10 * one_ms)); in TEST()
42 EXPECT_EQ("1us", PrettyDuration(1 * one_us)); in TEST()
43 EXPECT_EQ("10us", PrettyDuration(10 * one_us)); in TEST()
47 EXPECT_EQ("1ns", PrettyDuration(1)); in TEST()
48 EXPECT_EQ("10ns", PrettyDuration(10)); in TEST()
[all …]
H A Dtime_utils.h45 std::string PrettyDuration(uint64_t nano_duration, size_t max_fraction_digits = 3);
H A Dtime_utils.cc51 std::string PrettyDuration(uint64_t nano_duration, size_t max_fraction_digits) { in PrettyDuration() function
H A Dhistogram-inl.h201 os << Name() << ":\tSum: " << PrettyDuration(Sum() * kAdjust) << " " in PrintConfidenceIntervals()
/aosp12/art/runtime/base/
H A Dtiming_logger.cc124 << ":\tSum: " << PrettyDuration(total_time_ns) in DumpAverages()
125 << " Avg: " << PrettyDuration(total_time_ns / iterations_) << "\n"; in DumpAverages()
235 os << name_ << ": end, " << PrettyDuration(GetTotalNs()) << "\n"; in Dump()
H A Dmutex.cc344 << " total wait of contender " << PrettyDuration(wait_time) in DumpContention()
345 << " average " << PrettyDuration(wait_time / contention_count); in DumpContention()
/aosp12/art/runtime/gc/collector/
H A Dgarbage_collector.cc352 os << GetName() << " total time: " << PrettyDuration(total_ns) in DumpPerformanceInfo()
353 << " mean time: " << PrettyDuration(total_ns / iterations) << "\n" in DumpPerformanceInfo()
H A Dmark_sweep.cc1479 VLOG(gc) << "Overhead time " << PrettyDuration(overhead_time_.load(std::memory_order_relaxed)); in FinishPhase()
H A Dconcurrent_copying.cc3893 os << "Total madvise time " << PrettyDuration(region_space_->GetMadviseTime()) << "\n"; in DumpPerformanceInfo()
/aosp12/art/compiler/jit/
H A Djit_compiler.cc196 << PrettyDuration(UsToNs(duration_us)); in CompileMethod()
/aosp12/art/runtime/gc/
H A Dheap.cc967 LOG(INFO) << __FUNCTION__ << " blocked for " << PrettyDuration(wait_time); in IncrementDisableThreadFlip()
1013 LOG(INFO) << __FUNCTION__ << " blocked for " << PrettyDuration(wait_time); in ThreadFlipBegin()
1203 os << "Total time spent in GC: " << PrettyDuration(total_duration) << "\n"; in DumpGcPerformanceInfo()
1223 os << "Total mutator paused time: " << PrettyDuration(total_paused_time) << "\n"; in DumpGcPerformanceInfo()
1224 os << "Total time waiting for GC to complete: " << PrettyDuration(total_wait_time_) << "\n"; in DumpGcPerformanceInfo()
1226 os << "Total GC time: " << PrettyDuration(GetGcTime()) << "\n"; in DumpGcPerformanceInfo()
1228 os << "Total blocking GC time: " << PrettyDuration(GetBlockingGcTime()) << "\n"; in DumpGcPerformanceInfo()
1504 << PrettyDuration(NanoTime() - start_time); in Trim()
2741 pause_string << PrettyDuration((pause_times[i] / 1000) * 1000) in LogGC()
2751 << " total " << PrettyDuration((duration / 1000) * 1000); in LogGC()
[all …]
/aosp12/art/runtime/verifier/
H A Dclass_verifier.cc317 VLOG(verifier) << "VerifyClass took " << PrettyDuration(UsToNs(elapsed_time_microseconds)) in VerifyClass()
/aosp12/art/runtime/gc/space/
H A Ddlmalloc_space.cc145 LOG(INFO) << "DlMallocSpace::Create exiting (" << PrettyDuration(NanoTime() - start_time) in Create()
H A Drosalloc_space.cc173 LOG(INFO) << "RosAllocSpace::Create exiting (" << PrettyDuration(NanoTime() - start_time) in Create()
H A Dimage_space.cc999 << block.GetImageSize() << " in " << PrettyDuration(NanoTime() - start2); in LoadImageFile()
1015 VLOG(image) << "Decompressing image took " << PrettyDuration(time) << " (" in LoadImageFile()
/aosp12/art/runtime/
H A Dthread_list.cc644 LOG(WARNING) << "Suspending all threads took: " << PrettyDuration(suspend_time); in SuspendAll()
748 << PrettyDuration(wait_time) in SuspendAllInternal()
H A Dmonitor.cc597 << PrettyDuration(MsToNs(wait_ms)) << "\n" in Lock()
611 << PrettyDuration(MsToNs(wait_ms)); in Lock()
H A Druntime.cc366 LOG_STREAM(INFO) << "GC CPU time " << PrettyDuration(gc_cpu_time) in ~Runtime()
367 << " out of process CPU time " << PrettyDuration(process_cpu_time) in ~Runtime()
H A Dclass_linker.cc2034 VLOG(image) << "Adding class table classes took " << PrettyDuration(NanoTime() - start_time2); in AddImageSpace()
2093 VLOG(class_linker) << "Adding image space took " << PrettyDuration(NanoTime() - start_time); in AddImageSpace()
9877 << PrettyDuration(runtime->GetStat(KIND_GLOBAL_CLASS_INIT_TIME)) << "\n"; in DumpForSigQuit()
/aosp12/art/runtime/jit/
H A Dprofile_saver.cc820 << " in " << PrettyDuration(NanoTime() - start_time); in FetchAndCacheResolvedClassesAndMethods()
H A Djit.cc929 << PrettyDuration(ThreadCpuNanoTime() - start_ns); in Run()
/aosp12/art/dex2oat/
H A Ddex2oat.cc2852 << PrettyDuration(NanoTime() - start_ns_) in LogCompletionTime()
2853 << " (" << PrettyDuration(ProcessCpuNanoTime() - start_cputime_ns_) << " cpu)" in LogCompletionTime()
/aosp12/art/runtime/hprof/
H A Dhprof.cc481 << ") in " << PrettyDuration(duration) in Dump()
/aosp12/art/profman/
H A Dprofman.cc1919 LOG(WARNING) << "profman took " << PrettyDuration(time_taken); in LogCompletionTime()
/aosp12/art/dex2oat/driver/
H A Dcompiler_driver.cc399 << " took " << PrettyDuration(duration_ns); in CompileMethodHarness()

12