Home
last modified time | relevance | path

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

/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.h40 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.h198 os << Name() << ":\tSum: " << PrettyDuration(Sum() * kAdjust) << " " in PrintConfidenceIntervals()
/art/runtime/gc/collector/
Dgarbage_collector.cc323 os << GetName() << " total time: " << PrettyDuration(total_ns) in DumpPerformanceInfo()
324 << " 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()
/art/compiler/jit/
Djit_compiler.cc206 << PrettyDuration(duration_ns); in CompileMethod()
/art/runtime/gc/
Dheap.cc912 LOG(INFO) << __FUNCTION__ << " blocked for " << PrettyDuration(wait_time); in IncrementDisableThreadFlip()
958 LOG(INFO) << __FUNCTION__ << " blocked for " << PrettyDuration(wait_time); in ThreadFlipBegin()
1143 os << "Total time spent in GC: " << PrettyDuration(total_duration) << "\n"; in DumpGcPerformanceInfo()
1161 os << "Total mutator paused time: " << PrettyDuration(total_paused_time) << "\n"; in DumpGcPerformanceInfo()
1162 os << "Total time waiting for GC to complete: " << PrettyDuration(total_wait_time_) << "\n"; in DumpGcPerformanceInfo()
1164 os << "Total GC time: " << PrettyDuration(GetGcTime()) << "\n"; in DumpGcPerformanceInfo()
1166 os << "Total blocking GC time: " << PrettyDuration(GetBlockingGcTime()) << "\n"; in DumpGcPerformanceInfo()
1428 << PrettyDuration(NanoTime() - start_time); in Trim()
1519 VLOG(heap) << "Heap trim of managed (duration=" << PrettyDuration(gc_heap_end_ns - start_ns) in TrimSpaces()
2093 VLOG(heap) << "Heap homogeneous space compaction took " << PrettyDuration(duration) << " size: " in PerformHomogeneousSpaceCompact()
[all …]
/art/runtime/base/
Dtiming_logger.cc238 os << name_ << ": end, " << PrettyDuration(GetTotalNs()) << "\n"; in Dump()
Dmutex.cc271 << " total wait of contender " << PrettyDuration(wait_time) in DumpContention()
272 << " average " << PrettyDuration(wait_time / contention_count); in DumpContention()
/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.cc989 << block.GetImageSize() << " in " << PrettyDuration(NanoTime() - start2); in LoadImageFile()
1005 VLOG(image) << "Decompressing image took " << PrettyDuration(time) << " (" in LoadImageFile()
/art/runtime/
Dthread_list.cc383 LOG(WARNING) << "Long wait of " << PrettyDuration(total_delay) << " for " in RunCheckpoint()
652 LOG(WARNING) << "Suspending all threads took: " << PrettyDuration(suspend_time); in SuspendAll()
762 << PrettyDuration(wait_time) in SuspendAllInternal()
Dmonitor.cc560 << PrettyDuration(MsToNs(wait_ms)) << "\n" in Lock()
574 << PrettyDuration(MsToNs(wait_ms)); in Lock()
Druntime.cc348 LOG_STREAM(INFO) << "GC CPU time " << PrettyDuration(gc_cpu_time) in ~Runtime()
349 << " out of process CPU time " << PrettyDuration(process_cpu_time) in ~Runtime()
Dclass_linker.cc2187 VLOG(image) << "Adding class table classes took " << PrettyDuration(NanoTime() - start_time2); in AddImageSpace()
2246 VLOG(class_linker) << "Adding image space took " << PrettyDuration(NanoTime() - start_time); in AddImageSpace()
9719 LOG(INFO) << "Collecting class profile took " << PrettyDuration(NanoTime() - start_time); in GetResolvedClasses()
/art/runtime/jit/
Dprofile_saver.cc502 << PrettyDuration(NanoTime() - start_time); in FetchAndCacheResolvedClassesAndMethods()
/art/profman/
Dprofman.cc1312 LOG(WARNING) << "profman took " << PrettyDuration(time_taken); in LogCompletionTime()
/art/dex2oat/
Ddex2oat.cc2697 << PrettyDuration(NanoTime() - start_ns_) in LogCompletionTime()
2698 << " (" << PrettyDuration(ProcessCpuNanoTime() - start_cputime_ns_) << " cpu)" in LogCompletionTime()
/art/runtime/hprof/
Dhprof.cc482 << ") in " << PrettyDuration(duration) in Dump()
/art/dex2oat/driver/
Dcompiler_driver.cc450 << " took " << PrettyDuration(duration_ns); in CompileMethodHarness()
/art/dex2oat/linker/
Dimage_writer.cc134 << PrettyDuration(NanoTime() - compress_start_time); in MaybeCompressData()
/art/runtime/verifier/
Dmethod_verifier.cc5313 << " took " << PrettyDuration(duration_ns) in VerifyMethod()
/art/runtime/jni/
Dcheck_jni.cc1343 << PrettyDuration(UsToNs(critical_duration_us)) << " on " << *self; in CheckThread()