/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 | 67 void CumulativeLogger::AddLogger(const TimingLogger &logger) { in AddLogger() 69 TimingLogger::TimingData timing_data(logger.CalculateTimingData()); in AddLogger() 70 const std::vector<TimingLogger::Timing>& timings = logger.GetTimings(); in AddLogger() 128 TimingLogger::TimingLogger(const char* name, in TimingLogger() function in art::TimingLogger 131 TimingLogger::TimingKind kind) in TimingLogger() 135 void TimingLogger::Reset() { in Reset() 139 void TimingLogger::StartTiming(const char* label) { in StartTiming() 145 void TimingLogger::EndTiming() { in EndTiming() 150 uint64_t TimingLogger::GetTotalNs() const { in GetTotalNs() 157 size_t TimingLogger::FindTimingIndex(const char* name, size_t start_idx) const { in FindTimingIndex() [all …]
|
D | timing_logger.h | 30 class TimingLogger; variable 46 void AddLogger(const TimingLogger& logger) REQUIRES(!GetLock()); 91 class TimingLogger { 153 friend class TimingLogger; variable 156 TimingLogger(const char* name, 160 ~TimingLogger(); 184 ScopedTiming(const char* label, TimingLogger* logger) : logger_(logger) { in ScopedTiming() 196 TimingLogger* const logger_; // The timing logger which the scoped timing is associated with. 222 DISALLOW_COPY_AND_ASSIGN(TimingLogger);
|
/art/dex2oat/driver/ |
D | compiler_driver.h | 76 class TimingLogger; variable 95 void PrepareDexFilesForOatFile(TimingLogger* timings); 107 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); 256 TimingLogger* timings); 263 TimingLogger* timings) [all …]
|
D | compiler_driver.cc | 339 TimingLogger* timings) { in CompileAll() 561 TimingLogger* timings) { in Resolve() 583 TimingLogger* timings) { in ResolveConstStrings() 599 TimingLogger::ScopedTiming t("Resolve const-string Strings", timings); in ResolveConstStrings() 713 TimingLogger* timings) { in InitializeTypeCheckBitstrings() 721 TimingLogger::ScopedTiming t("Initialize type check bitstrings", timings); in InitializeTypeCheckBitstrings() 763 void CompilerDriver::PrepareDexFilesForOatFile(TimingLogger* timings ATTRIBUTE_UNUSED) { in PrepareDexFilesForOatFile() 815 TimingLogger* timings, in PreCompile() 1079 void CompilerDriver::LoadImageClasses(TimingLogger* timings, in LoadImageClasses() 1086 TimingLogger::ScopedTiming t("LoadImageClasses", timings); in LoadImageClasses() [all …]
|
/art/runtime/gc/collector/ |
D | semi_space.cc | 63 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); in BindBitmaps() 127 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); in InitializePhase() 154 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); in MarkingPhase() 186 TimingLogger::ScopedTiming t2("RevokeAllThreadLocalAllocationStacks", GetTimings()); in MarkingPhase() 281 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); in MarkReachableObjects() 283 TimingLogger::ScopedTiming t2("MarkStackAsLive", GetTimings()); in MarkReachableObjects() 293 TimingLogger::ScopedTiming t2( in MarkReachableObjects() 313 TimingLogger::ScopedTiming t2("UpdateAndMarkRememberedSet", GetTimings()); in MarkReachableObjects() 316 TimingLogger::ScopedTiming t2("VisitLiveBits", GetTimings()); in MarkReachableObjects() 346 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); in ReclaimPhase() [all …]
|
D | mark_sweep.cc | 84 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); in BindBitmaps() 117 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); in InitializePhase() 184 TimingLogger::ScopedTiming t("(Paused)PausePhase", GetTimings()); in PausePhase() 196 TimingLogger::ScopedTiming t2("SwapStacks", GetTimings()); in PausePhase() 220 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); in PreCleanCards() 250 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); in RevokeAllThreadLocalAllocationStacks() 257 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); in MarkingPhase() 319 TimingLogger::ScopedTiming t(name, GetTimings()); in UpdateAndMarkModUnion() 339 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); in ReclaimPhase() 366 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); in FindDefaultSpaceBitmap() [all …]
|
D | iteration.h | 41 TimingLogger* GetTimings() { in GetTimings() 94 TimingLogger timings_;
|
D | concurrent_copying.cc | 253 TimingLogger::ScopedTiming split("(Paused)VerifyNoFromSpaceReferences", GetTimings()); in RunPhases() 408 TimingLogger::ScopedTiming split("InitializePhase", GetTimings()); in InitializePhase() 558 TimingLogger::ScopedTiming split("(Paused)FlipCallback", cc->GetTimings()); in Run() 574 TimingLogger::ScopedTiming split2("(Paused)SetFromSpace", cc->GetTimings()); in Run() 595 TimingLogger::ScopedTiming split3("(Paused)VisitTransactionRoots", cc->GetTimings()); in Run() 676 TimingLogger::ScopedTiming split(__FUNCTION__, GetTimings()); in VerifyGrayImmuneObjects() 760 TimingLogger::ScopedTiming split(__FUNCTION__, GetTimings()); in VerifyNoMissingCardMarks() 770 TimingLogger::ScopedTiming split("FlipThreadRoots", GetTimings()); in FlipThreadRoots() 825 TimingLogger::ScopedTiming split("GrayAllDirtyImmuneObjects", GetTimings()); in GrayAllDirtyImmuneObjects() 865 TimingLogger::ScopedTiming split("(Paused)GrayAllNewlyDirtyImmuneObjects", GetTimings()); in GrayAllNewlyDirtyImmuneObjects() [all …]
|
D | sticky_mark_sweep.cc | 64 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); in MarkConcurrentRoots()
|
D | mark_compact.cc | 568 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); in BindAndResetBitmaps() 634 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); in InitializePhase() 1217 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); in ReMarkRoots() 1227 TimingLogger::ScopedTiming t2("(Paused)VerifyRoots", GetTimings()); in ReMarkRoots() 1234 TimingLogger::ScopedTiming t("(Paused)MarkingPause", GetTimings()); in MarkingPause() 1272 TimingLogger::ScopedTiming t2("SwapStacks", GetTimings()); in MarkingPause() 1299 TimingLogger::ScopedTiming t(paused ? "(Paused)SweepSystemWeaks" : "SweepSystemWeaks", in SweepSystemWeaks() 1311 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); in Sweep() 1316 TimingLogger::ScopedTiming t2("MarkAllocStackAsLive", GetTimings()); in Sweep() 1327 TimingLogger::ScopedTiming split( in Sweep() [all …]
|
D | garbage_collector.h | 109 TimingLogger* GetTimings() { in GetTimings()
|
/art/dex2oat/ |
D | common_compiler_driver_test.h | 33 class TimingLogger; variable 43 TimingLogger* timings) REQUIRES(!Locks::mutator_lock_);
|
D | common_compiler_driver_test.cc | 36 TimingLogger* timings) { in CompileAll() 37 TimingLogger::ScopedTiming t(__FUNCTION__, timings); in CompileAll()
|
D | dex2oat.cc | 512 explicit Dex2Oat(TimingLogger* timings) in Dex2Oat() 1472 TimingLogger::ScopedTiming t("dex2oat Setup", timings_); in Setup() 1499 TimingLogger::ScopedTiming t_dex("Writing and opening dex files", timings_); in Setup() 1637 TimingLogger::ScopedTiming t3("Loading image checksum", timings_); in Setup() 1655 TimingLogger::ScopedTiming t3("Loading image checksum", timings_); in Setup() 1718 TimingLogger::ScopedTiming t_dex("Starting .rodata", timings_); in Setup() 1863 TimingLogger::ScopedTiming t("dex2oat Compile", timings_); in Compile() 2079 TimingLogger::ScopedTiming t("dex2oat Oat", timings_); in WriteOutputFiles() 2106 TimingLogger::ScopedTiming t2("dex2oat Prepare image address space", timings_); in WriteOutputFiles() 2122 TimingLogger::ScopedTiming t2("dex2oat Write VDEX", timings_); in WriteOutputFiles() [all …]
|
/art/runtime/gc/ |
D | reference_processor.h | 28 class TimingLogger; variable 60 void ProcessReferences(Thread* self, TimingLogger* timings) 91 uint32_t ForwardSoftReferences(TimingLogger* timings)
|
D | reference_processor.cc | 168 uint32_t ReferenceProcessor::ForwardSoftReferences(TimingLogger* timings) { in ForwardSoftReferences() 169 TimingLogger::ScopedTiming split( in ForwardSoftReferences() 202 void ReferenceProcessor::ProcessReferences(Thread* self, TimingLogger* timings) { in ProcessReferences() 203 TimingLogger::ScopedTiming t(concurrent_ ? __FUNCTION__ : "(Paused)ProcessReferences", timings); in ProcessReferences() 251 TimingLogger::ScopedTiming t2( in ProcessReferences()
|
D | heap.cc | 2394 TimingLogger::ScopedTiming t("UnBindBitmaps", GetCurrentGcIteration()->GetTimings()); in UnBindBitmaps() 2886 VLOG(heap) << Dumpable<TimingLogger>(*current_gc_iteration_.GetTimings()); in LogGC() 3413 void Heap::ProcessCards(TimingLogger* timings, in ProcessCards() 3417 TimingLogger::ScopedTiming t(__FUNCTION__, timings); in ProcessCards() 3425 TimingLogger::ScopedTiming t2(name, timings); in ProcessCards() 3429 TimingLogger::ScopedTiming t2("AllocSpaceRemSetClearCards", timings); in ProcessCards() 3432 TimingLogger::ScopedTiming t2("AllocSpaceClearCards", timings); in ProcessCards() 3466 TimingLogger* const timings = current_gc_iteration_.GetTimings(); in PreGcVerificationPaused() 3467 TimingLogger::ScopedTiming t(__FUNCTION__, timings); in PreGcVerificationPaused() 3469 TimingLogger::ScopedTiming t2("(Paused)PreGcVerifyHeapReferences", timings); in PreGcVerificationPaused() [all …]
|
/art/compiler/jit/ |
D | jit_compiler.cc | 184 TimingLogger logger( in CompileMethod() 185 "JIT compiler timing logger", true, VLOG_IS_ON(jit), TimingLogger::TimingKind::kThreadCpu); in CompileMethod() 192 TimingLogger::ScopedTiming t2(compilation_kind == CompilationKind::kOsr in CompileMethod() 213 TimingLogger::ScopedTiming t2("TrimMaps", &logger); in CompileMethod()
|
/art/compiler/ |
D | common_compiler_test.cc | 271 TimingLogger timings("CommonCompilerTestImpl::CompileMethod", false, false); in CompileMethod() 272 TimingLogger::ScopedTiming t(__FUNCTION__, &timings); in CompileMethod() 304 TimingLogger::ScopedTiming t2("MakeExecutable", &timings); in CompileMethod()
|
D | common_compiler_test.h | 40 class TimingLogger; variable
|
/art/dex2oat/linker/ |
D | oat_writer_test.cc | 107 TimingLogger timings("WriteElf", false, false); in WriteElf() 135 TimingLogger timings("WriteElf", false, false); in WriteElf() 158 TimingLogger timings("WriteElf", false, false); in WriteElf() 426 TimingLogger timings("OatTest::WriteRead", false, false); in TEST_F() 434 TimingLogger timings2("OatTest::WriteRead", false, false); in TEST_F() 536 TimingLogger timings("OatTest::EmptyTextSection", false, false); in TEST_F() 588 TimingLogger timings("OatTest::DexFileInput", false, false); in TestDexFileInput() 713 TimingLogger timings("OatTest::DexFileInput", false, false); in TestZipFileInput()
|
D | oat_writer.cc | 324 TimingLogger* timings, in OatWriter() 639 TimingLogger::ScopedTiming split("InitBssLayout", timings_); in PrepareLayout() 645 TimingLogger::ScopedTiming split("InitClassOffsets", timings_); in PrepareLayout() 649 TimingLogger::ScopedTiming split("InitOatClasses", timings_); in PrepareLayout() 653 TimingLogger::ScopedTiming split("InitIndexBssMappings", timings_); in PrepareLayout() 657 TimingLogger::ScopedTiming split("InitOatMaps", timings_); in PrepareLayout() 661 TimingLogger::ScopedTiming split("InitOatDexFiles", timings_); in PrepareLayout() 666 TimingLogger::ScopedTiming split("InitBcpBssInfo", timings_); in PrepareLayout() 670 TimingLogger::ScopedTiming split("InitOatCode", timings_); in PrepareLayout() 674 TimingLogger::ScopedTiming split("InitOatCodeDexFiles", timings_); in PrepareLayout() [all …]
|
D | oat_writer.h | 49 class TimingLogger; variable 120 TimingLogger* timings, 367 TimingLogger* timings_;
|
/art/runtime/gc/space/ |
D | image_space.cc | 568 TimingLogger logger(__PRETTY_FUNCTION__, /*precise=*/ true, VLOG_IS_ON(image)); in InitAppImage() 608 TimingLogger::ScopedTiming timing("RelocateImage", &logger); in InitAppImage() 633 TimingLogger::ScopedTiming timing("DeduplicateInternedStrings", &logger); in InitAppImage() 662 TimingLogger* logger, in Init() 671 TimingLogger::ScopedTiming timing("OpenImageFile", logger); in Init() 693 TimingLogger* logger, in Init() 704 TimingLogger::ScopedTiming timing("ReadImageHeader", logger); in Init() 789 TimingLogger::ScopedTiming timing("CreateImageBitmap", logger); in Init() 993 TimingLogger* logger, in LoadImageFile() 997 TimingLogger::ScopedTiming timing("MapImageFile", logger); in LoadImageFile() [all …]
|