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.h41 std::string PrettyDuration(uint64_t nano_duration, size_t max_fraction_digits = 3);
Dtime_utils.cc51 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/gc/collector/
Dgarbage_collector.cc314 os << GetName() << " total time: " << PrettyDuration(total_ns) in DumpPerformanceInfo()
315 << " mean time: " << PrettyDuration(total_ns / iterations) << "\n" in DumpPerformanceInfo()
Dmark_sweep.cc1479 VLOG(gc) << "Overhead time " << PrettyDuration(overhead_time_.load(std::memory_order_relaxed)); in FinishPhase()
Dconcurrent_copying.cc3817 os << "Total madvise time " << PrettyDuration(region_space_->GetMadviseTime()) << "\n"; in DumpPerformanceInfo()
/art/compiler/jit/
Djit_compiler.cc198 << PrettyDuration(duration_ns); in CompileMethod()
/art/runtime/base/
Dtiming_logger.cc238 os << name_ << ": end, " << PrettyDuration(GetTotalNs()) << "\n"; in Dump()
Dmutex.cc330 << " total wait of contender " << PrettyDuration(wait_time) in DumpContention()
331 << " average " << PrettyDuration(wait_time / contention_count); in DumpContention()
/art/runtime/gc/
Dheap.cc920 LOG(INFO) << __FUNCTION__ << " blocked for " << PrettyDuration(wait_time); in IncrementDisableThreadFlip()
966 LOG(INFO) << __FUNCTION__ << " blocked for " << PrettyDuration(wait_time); in ThreadFlipBegin()
1156 os << "Total time spent in GC: " << PrettyDuration(total_duration) << "\n"; in DumpGcPerformanceInfo()
1176 os << "Total mutator paused time: " << PrettyDuration(total_paused_time) << "\n"; in DumpGcPerformanceInfo()
1177 os << "Total time waiting for GC to complete: " << PrettyDuration(total_wait_time_) << "\n"; in DumpGcPerformanceInfo()
1179 os << "Total GC time: " << PrettyDuration(GetGcTime()) << "\n"; in DumpGcPerformanceInfo()
1181 os << "Total blocking GC time: " << PrettyDuration(GetBlockingGcTime()) << "\n"; in DumpGcPerformanceInfo()
1448 << PrettyDuration(NanoTime() - start_time); in Trim()
1539 VLOG(heap) << "Heap trim of managed (duration=" << PrettyDuration(gc_heap_end_ns - start_ns) in TrimSpaces()
2112 VLOG(heap) << "Heap homogeneous space compaction took " << PrettyDuration(duration) << " size: " in PerformHomogeneousSpaceCompact()
[all …]
/art/runtime/verifier/
Dclass_verifier.cc310 VLOG(verifier) << "VerifyClass took " << PrettyDuration(NanoTime() - start_ns) in VerifyClass()
/art/runtime/gc/space/
Ddlmalloc_space.cc145 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.cc1223 << block.GetImageSize() << " in " << PrettyDuration(NanoTime() - start2); in LoadImageFile()
1239 VLOG(image) << "Decompressing image took " << PrettyDuration(time) << " (" in LoadImageFile()
/art/runtime/
Dthread_list.cc653 LOG(WARNING) << "Suspending all threads took: " << PrettyDuration(suspend_time); in SuspendAll()
757 << PrettyDuration(wait_time) in SuspendAllInternal()
Dmonitor.cc593 << PrettyDuration(MsToNs(wait_ms)) << "\n" in Lock()
607 << PrettyDuration(MsToNs(wait_ms)); in Lock()
Druntime.cc354 LOG_STREAM(INFO) << "GC CPU time " << PrettyDuration(gc_cpu_time) in ~Runtime()
355 << " out of process CPU time " << PrettyDuration(process_cpu_time) in ~Runtime()
Dclass_linker.cc2233 VLOG(image) << "Adding class table classes took " << PrettyDuration(NanoTime() - start_time2); in AddImageSpace()
2292 VLOG(class_linker) << "Adding image space took " << PrettyDuration(NanoTime() - start_time); in AddImageSpace()
9614 << PrettyDuration(runtime->GetStat(KIND_GLOBAL_CLASS_INIT_TIME)) << "\n"; in DumpForSigQuit()
/art/runtime/jit/
Dprofile_saver.cc511 << PrettyDuration(NanoTime() - start_time); in FetchAndCacheResolvedClassesAndMethods()
Djit.cc929 << PrettyDuration(ThreadCpuNanoTime() - start_ns); in Run()
/art/dex2oat/
Ddex2oat.cc2965 << PrettyDuration(NanoTime() - start_ns_) in LogCompletionTime()
2966 << " (" << PrettyDuration(ProcessCpuNanoTime() - start_cputime_ns_) << " cpu)" in LogCompletionTime()
/art/runtime/hprof/
Dhprof.cc481 << ") in " << PrettyDuration(duration) in Dump()
/art/profman/
Dprofman.cc1495 LOG(WARNING) << "profman took " << PrettyDuration(time_taken); in LogCompletionTime()
/art/dex2oat/driver/
Dcompiler_driver.cc451 << " took " << PrettyDuration(duration_ns); in CompileMethodHarness()

12