/art/runtime/base/ |
D | timing_logger_test.cc | 29 TimingLogger logger("StartEnd", true, false); in TEST_F() 44 TimingLogger logger("StartNewEnd", true, false); in TEST_F() 70 TimingLogger logger("StartNewEndNested", true, false); in TEST_F() 87 EXPECT_NE(idx_1, TimingLogger::kIndexNotFound); in TEST_F() 88 EXPECT_NE(idx_2, TimingLogger::kIndexNotFound); in TEST_F() 89 EXPECT_NE(idx_3, TimingLogger::kIndexNotFound); in TEST_F() 90 EXPECT_NE(idx_4, TimingLogger::kIndexNotFound); in TEST_F() 91 EXPECT_NE(idx_5, TimingLogger::kIndexNotFound); in TEST_F() 92 EXPECT_EQ(idx_6, TimingLogger::kIndexNotFound); in TEST_F() 93 TimingLogger::TimingData data = logger.CalculateTimingData(); in TEST_F() [all …]
|
D | timing_logger.cc | 39 constexpr size_t TimingLogger::kIndexNotFound; 72 void CumulativeLogger::AddLogger(const TimingLogger &logger) { in AddLogger() 74 TimingLogger::TimingData timing_data(logger.CalculateTimingData()); in AddLogger() 75 const std::vector<TimingLogger::Timing>& timings = logger.GetTimings(); in AddLogger() 133 TimingLogger::TimingLogger(const char* name, in TimingLogger() function in art::TimingLogger 136 TimingLogger::TimingKind kind) in TimingLogger() 140 void TimingLogger::Reset() { in Reset() 144 void TimingLogger::StartTiming(const char* label) { in StartTiming() 150 void TimingLogger::EndTiming() { in EndTiming() 155 uint64_t TimingLogger::GetTotalNs() const { in GetTotalNs() [all …]
|
D | timing_logger.h | 31 class TimingLogger; variable 47 void AddLogger(const TimingLogger& logger) REQUIRES(!GetLock()); 84 class TimingLogger { 151 friend class TimingLogger; variable 154 TimingLogger(const char* name, 158 ~TimingLogger(); 182 ScopedTiming(const char* label, TimingLogger* logger) : logger_(logger) { in ScopedTiming() 194 TimingLogger* const logger_; // The timing logger which the scoped timing is associated with. 220 DISALLOW_COPY_AND_ASSIGN(TimingLogger);
|
/art/dex2oat/driver/ |
D | compiler_driver.h | 78 class TimingLogger; variable 106 TimingLogger* timings, 112 TimingLogger* timings) 230 void LoadImageClasses(TimingLogger* timings, /*inout*/ HashSet<std::string>* image_classes) 238 TimingLogger* timings) 245 TimingLogger* timings) 252 TimingLogger* timings, 257 TimingLogger* timings, 265 TimingLogger* timings) 270 TimingLogger* timings); [all …]
|
D | compiler_driver.cc | 323 TimingLogger* timings) { in CompileAll() 647 TimingLogger* timings) { in Resolve() 669 TimingLogger* timings) { in ResolveConstStrings() 688 TimingLogger::ScopedTiming t("Resolve const-string Strings", timings); in ResolveConstStrings() 794 TimingLogger* timings) { in InitializeTypeCheckBitstrings() 802 TimingLogger::ScopedTiming t("Initialize type check bitstrings", timings); in InitializeTypeCheckBitstrings() 843 TimingLogger* timings, in PreCompile() 1044 void CompilerDriver::LoadImageClasses(TimingLogger* timings, in LoadImageClasses() 1051 TimingLogger::ScopedTiming t("LoadImageClasses", timings); in LoadImageClasses() 1293 void CompilerDriver::UpdateImageClasses(TimingLogger* timings, in UpdateImageClasses() [all …]
|
/art/runtime/gc/collector/ |
D | semi_space.cc | 65 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); in BindBitmaps() 147 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); in InitializePhase() 177 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); in MarkingPhase() 239 TimingLogger::ScopedTiming t2("RevokeAllThreadLocalAllocationStacks", GetTimings()); in MarkingPhase() 334 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); in MarkReachableObjects() 336 TimingLogger::ScopedTiming t2("MarkStackAsLive", GetTimings()); in MarkReachableObjects() 346 TimingLogger::ScopedTiming t2( in MarkReachableObjects() 370 TimingLogger::ScopedTiming t2("UpdateAndMarkRememberedSet", GetTimings()); in MarkReachableObjects() 373 TimingLogger::ScopedTiming t2("VisitLiveBits", GetTimings()); in MarkReachableObjects() 402 TimingLogger::ScopedTiming t2("VisitLargeObjects", GetTimings()); in MarkReachableObjects() [all …]
|
D | mark_sweep.cc | 84 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); in BindBitmaps() 117 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); in InitializePhase() 188 TimingLogger::ScopedTiming t("(Paused)PausePhase", GetTimings()); in PausePhase() 200 TimingLogger::ScopedTiming t2("SwapStacks", GetTimings()); in PausePhase() 222 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); in PreCleanCards() 252 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); in RevokeAllThreadLocalAllocationStacks() 259 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); in MarkingPhase() 321 TimingLogger::ScopedTiming t(name, GetTimings()); in UpdateAndMarkModUnion() 341 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); in ReclaimPhase() 366 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); in FindDefaultSpaceBitmap() [all …]
|
D | iteration.h | 41 TimingLogger* GetTimings() { in GetTimings() 87 TimingLogger timings_;
|
D | concurrent_copying.cc | 220 TimingLogger::ScopedTiming split("(Paused)VerifyNoFromSpaceReferences", GetTimings()); in RunPhases() 373 TimingLogger::ScopedTiming split("InitializePhase", GetTimings()); in InitializePhase() 518 TimingLogger::ScopedTiming split("(Paused)FlipCallback", cc->GetTimings()); in Run() 534 TimingLogger::ScopedTiming split2("(Paused)SetFromSpace", cc->GetTimings()); in Run() 553 TimingLogger::ScopedTiming split3("(Paused)VisitTransactionRoots", cc->GetTimings()); in Run() 639 TimingLogger::ScopedTiming split(__FUNCTION__, GetTimings()); in VerifyGrayImmuneObjects() 723 TimingLogger::ScopedTiming split(__FUNCTION__, GetTimings()); in VerifyNoMissingCardMarks() 733 TimingLogger::ScopedTiming split("FlipThreadRoots", GetTimings()); in FlipThreadRoots() 788 TimingLogger::ScopedTiming split("GrayAllDirtyImmuneObjects", GetTimings()); in GrayAllDirtyImmuneObjects() 828 TimingLogger::ScopedTiming split("(Paused)GrayAllNewlyDirtyImmuneObjects", GetTimings()); in GrayAllNewlyDirtyImmuneObjects() [all …]
|
D | sticky_mark_sweep.cc | 64 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); in MarkConcurrentRoots()
|
D | garbage_collector.h | 105 TimingLogger* GetTimings() { in GetTimings()
|
/art/dex2oat/ |
D | common_compiler_driver_test.h | 33 class TimingLogger; variable 42 TimingLogger* timings) REQUIRES(!Locks::mutator_lock_);
|
D | common_compiler_driver_test.cc | 35 TimingLogger* timings) { in CompileAll() 36 TimingLogger::ScopedTiming t(__FUNCTION__, timings); in CompileAll()
|
D | dex2oat.cc | 654 explicit Dex2Oat(TimingLogger* timings) : in Dex2Oat() 1474 TimingLogger::ScopedTiming t("dex2oat Setup", timings_); in Setup() 1515 TimingLogger::ScopedTiming t3("Loading image checksum", timings_); in Setup() 1569 TimingLogger::ScopedTiming t_dex("Writing and opening dex files", timings_); in Setup() 1742 TimingLogger::ScopedTiming t("dex2oat Compile", timings_); in Compile() 1824 TimingLogger::ScopedTiming time_unquicken("Unquicken", timings_); in Compile() 1949 TimingLogger::ScopedTiming t("dex2oat Oat", timings_); in WriteOutputFiles() 1987 TimingLogger::ScopedTiming t2("dex2oat Prepare image address space", timings_); in WriteOutputFiles() 2003 TimingLogger::ScopedTiming t2("dex2oat Write VDEX", timings_); in WriteOutputFiles() 2031 TimingLogger::ScopedTiming t2("dex2oat Write ELF", timings_); in WriteOutputFiles() [all …]
|
/art/compiler/jit/ |
D | jit_compiler.cc | 190 TimingLogger logger( in CompileMethod() 191 "JIT compiler timing logger", true, VLOG_IS_ON(jit), TimingLogger::TimingKind::kThreadCpu); in CompileMethod() 198 TimingLogger::ScopedTiming t2("Compiling", &logger); in CompileMethod() 212 TimingLogger::ScopedTiming t2("TrimMaps", &logger); in CompileMethod()
|
/art/runtime/gc/ |
D | reference_processor.h | 28 class TimingLogger; variable 50 TimingLogger* timings,
|
D | reference_processor.cc | 154 TimingLogger* timings, in ProcessReferences() 157 TimingLogger::ScopedTiming t(concurrent ? __FUNCTION__ : "(Paused)ProcessReferences", timings); in ProcessReferences() 179 TimingLogger::ScopedTiming split(concurrent ? "ForwardSoftReferences" : in ProcessReferences() 196 TimingLogger::ScopedTiming t2(concurrent ? "EnqueueFinalizerReferences" : in ProcessReferences()
|
D | heap.cc | 2425 TimingLogger::ScopedTiming t("UnBindBitmaps", GetCurrentGcIteration()->GetTimings()); in UnBindBitmaps() 2849 VLOG(heap) << Dumpable<TimingLogger>(*current_gc_iteration_.GetTimings()); in LogGC() 3367 void Heap::ProcessCards(TimingLogger* timings, in ProcessCards() 3371 TimingLogger::ScopedTiming t(__FUNCTION__, timings); in ProcessCards() 3379 TimingLogger::ScopedTiming t2(name, timings); in ProcessCards() 3384 TimingLogger::ScopedTiming t2("AllocSpaceRemSetClearCards", timings); in ProcessCards() 3387 TimingLogger::ScopedTiming t2("AllocSpaceClearCards", timings); in ProcessCards() 3421 TimingLogger* const timings = current_gc_iteration_.GetTimings(); in PreGcVerificationPaused() 3422 TimingLogger::ScopedTiming t(__FUNCTION__, timings); in PreGcVerificationPaused() 3424 TimingLogger::ScopedTiming t2("(Paused)PreGcVerifyHeapReferences", timings); in PreGcVerificationPaused() [all …]
|
/art/runtime/gc/space/ |
D | image_space.cc | 682 TimingLogger logger(__PRETTY_FUNCTION__, /*precise=*/ true, VLOG_IS_ON(image)); in InitAppImage() 698 TimingLogger::ScopedTiming timing("RelocateImage", &logger); in InitAppImage() 749 TimingLogger* logger, in Init() 760 TimingLogger::ScopedTiming timing("OpenImageFile", logger); in Init() 770 TimingLogger::ScopedTiming timing("ReadImageHeader", logger); in Init() 871 TimingLogger::ScopedTiming timing("CreateImageBitmap", logger); in Init() 927 TimingLogger* logger, in LoadImageFile() 931 TimingLogger::ScopedTiming timing("MapImageFile", logger); in LoadImageFile() 1172 TimingLogger logger(__FUNCTION__, true, false); in RelocateInPlace() 1220 TimingLogger::ScopedTiming timing("Fixup classes", &logger); in RelocateInPlace() [all …]
|
/art/compiler/ |
D | common_compiler_test.cc | 173 TimingLogger timings("CommonCompilerTest::CompileMethod", false, false); in CompileMethod() 174 TimingLogger::ScopedTiming t(__FUNCTION__, &timings); in CompileMethod() 209 TimingLogger::ScopedTiming t2("MakeExecutable", &timings); in CompileMethod()
|
D | common_compiler_test.h | 40 class TimingLogger; variable
|
/art/dex2oat/linker/ |
D | oat_writer_test.cc | 106 TimingLogger timings("WriteElf", false, false); in WriteElf() 133 TimingLogger timings("WriteElf", false, false); in WriteElf() 154 TimingLogger timings("WriteElf", false, false); in WriteElf() 385 TimingLogger timings("OatTest::WriteRead", false, false); in TEST_F() 393 TimingLogger timings2("OatTest::WriteRead", false, false); in TEST_F() 497 TimingLogger timings("OatTest::EmptyTextSection", false, false); in TEST_F() 551 TimingLogger timings("OatTest::DexFileInput", false, false); in TestDexFileInput() 672 TimingLogger timings("OatTest::DexFileInput", false, false); in TestZipFileInput()
|
D | oat_writer.h | 49 class TimingLogger; variable 124 TimingLogger* timings, 367 TimingLogger* timings_;
|
D | oat_writer.cc | 369 TimingLogger* timings, in OatWriter() 736 TimingLogger::ScopedTiming split("InitBssLayout", timings_); in PrepareLayout() 742 TimingLogger::ScopedTiming split("InitClassOffsets", timings_); in PrepareLayout() 746 TimingLogger::ScopedTiming split("InitOatClasses", timings_); in PrepareLayout() 750 TimingLogger::ScopedTiming split("InitIndexBssMappings", timings_); in PrepareLayout() 754 TimingLogger::ScopedTiming split("InitOatMaps", timings_); in PrepareLayout() 758 TimingLogger::ScopedTiming split("InitOatDexFiles", timings_); in PrepareLayout() 763 TimingLogger::ScopedTiming split("InitOatCode", timings_); in PrepareLayout() 767 TimingLogger::ScopedTiming split("InitOatCodeDexFiles", timings_); in PrepareLayout() 772 TimingLogger::ScopedTiming split("InitDataBimgRelRoLayout", timings_); in PrepareLayout() [all …]
|
/art/dex2oat/dex/ |
D | dex_to_dex_decompiler_test.cc | 41 TimingLogger timings("DexToDexDecompilerTest::CompileAll", false, false); in CompileAll()
|