/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 | 36 constexpr size_t TimingLogger::kIndexNotFound; 69 void CumulativeLogger::AddLogger(const TimingLogger &logger) { in AddLogger() 71 TimingLogger::TimingData timing_data(logger.CalculateTimingData()); in AddLogger() 72 const std::vector<TimingLogger::Timing>& timings = logger.GetTimings(); in AddLogger() 130 TimingLogger::TimingLogger(const char* name, in TimingLogger() function in art::TimingLogger 133 TimingLogger::TimingKind kind) in TimingLogger() 137 void TimingLogger::Reset() { in Reset() 141 void TimingLogger::StartTiming(const char* label) { in StartTiming() 147 void TimingLogger::EndTiming() { in EndTiming() 152 uint64_t TimingLogger::GetTotalNs() const { in GetTotalNs() [all …]
|
D | timing_logger.h | 30 class TimingLogger; variable 46 void AddLogger(const TimingLogger& logger) REQUIRES(!GetLock()); 91 class TimingLogger { 158 friend class TimingLogger; variable 161 TimingLogger(const char* name, 165 ~TimingLogger(); 189 ScopedTiming(const char* label, TimingLogger* logger) : logger_(logger) { in ScopedTiming() 201 TimingLogger* const logger_; // The timing logger which the scoped timing is associated with. 227 DISALLOW_COPY_AND_ASSIGN(TimingLogger);
|
/art/dex2oat/driver/ |
D | compiler_driver.h | 76 class TimingLogger; variable 94 void PrepareDexFilesForOatFile(TimingLogger* timings); 106 TimingLogger* timings, 112 TimingLogger* timings) 226 void LoadImageClasses(TimingLogger* timings, /*inout*/ HashSet<std::string>* image_classes) 234 TimingLogger* timings) 241 TimingLogger* timings) 248 TimingLogger* timings, 253 TimingLogger* timings, 261 TimingLogger* timings) [all …]
|
D | compiler_driver.cc | 337 TimingLogger* timings) { in CompileAll() 524 TimingLogger* timings) { in Resolve() 546 TimingLogger* timings) { in ResolveConstStrings() 560 TimingLogger::ScopedTiming t("Resolve const-string Strings", timings); in ResolveConstStrings() 662 TimingLogger* timings) { in InitializeTypeCheckBitstrings() 670 TimingLogger::ScopedTiming t("Initialize type check bitstrings", timings); in InitializeTypeCheckBitstrings() 712 void CompilerDriver::PrepareDexFilesForOatFile(TimingLogger* timings ATTRIBUTE_UNUSED) { in PrepareDexFilesForOatFile() 764 TimingLogger* timings, in PreCompile() 999 void CompilerDriver::LoadImageClasses(TimingLogger* timings, in LoadImageClasses() 1021 TimingLogger::ScopedTiming t("LoadImageClasses", timings); in LoadImageClasses() [all …]
|
D | compiler_driver_test.cc | 46 TimingLogger timings("CompilerDriverTest::CompileAllAndMakeExecutable", false, false); in CompileAllAndMakeExecutable() 49 TimingLogger::ScopedTiming t("MakeAllExecutable", &timings); in CompileAllAndMakeExecutable()
|
/art/runtime/gc/collector/ |
D | semi_space.cc | 63 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); in BindBitmaps() 127 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); in InitializePhase() 153 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); in MarkingPhase() 185 TimingLogger::ScopedTiming t2("RevokeAllThreadLocalAllocationStacks", GetTimings()); in MarkingPhase() 280 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); in MarkReachableObjects() 282 TimingLogger::ScopedTiming t2("MarkStackAsLive", GetTimings()); in MarkReachableObjects() 292 TimingLogger::ScopedTiming t2( in MarkReachableObjects() 312 TimingLogger::ScopedTiming t2("UpdateAndMarkRememberedSet", GetTimings()); in MarkReachableObjects() 315 TimingLogger::ScopedTiming t2("VisitLiveBits", GetTimings()); in MarkReachableObjects() 345 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() 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() 94 TimingLogger timings_;
|
D | concurrent_copying.cc | 239 TimingLogger::ScopedTiming split("(Paused)VerifyNoFromSpaceReferences", GetTimings()); in RunPhases() 392 TimingLogger::ScopedTiming split("InitializePhase", GetTimings()); in InitializePhase() 540 TimingLogger::ScopedTiming split("(Paused)FlipCallback", cc->GetTimings()); in Run() 556 TimingLogger::ScopedTiming split2("(Paused)SetFromSpace", cc->GetTimings()); in Run() 575 TimingLogger::ScopedTiming split3("(Paused)VisitTransactionRoots", cc->GetTimings()); in Run() 661 TimingLogger::ScopedTiming split(__FUNCTION__, GetTimings()); in VerifyGrayImmuneObjects() 745 TimingLogger::ScopedTiming split(__FUNCTION__, GetTimings()); in VerifyNoMissingCardMarks() 755 TimingLogger::ScopedTiming split("FlipThreadRoots", GetTimings()); in FlipThreadRoots() 810 TimingLogger::ScopedTiming split("GrayAllDirtyImmuneObjects", GetTimings()); in GrayAllDirtyImmuneObjects() 850 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 | 109 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 | 507 explicit Dex2Oat(TimingLogger* timings) : in Dex2Oat() 1416 TimingLogger::ScopedTiming t("dex2oat Setup", timings_); in Setup() 1441 TimingLogger::ScopedTiming t_dex("Writing and opening dex files", timings_); in Setup() 1586 TimingLogger::ScopedTiming t3("Loading image checksum", timings_); in Setup() 1605 TimingLogger::ScopedTiming t3("Loading image checksum", timings_); in Setup() 1667 TimingLogger::ScopedTiming t_dex("Starting .rodata", timings_); in Setup() 1834 TimingLogger::ScopedTiming t("dex2oat Compile", timings_); in Compile() 2053 TimingLogger::ScopedTiming t("dex2oat Oat", timings_); in WriteOutputFiles() 2080 TimingLogger::ScopedTiming t2("dex2oat Prepare image address space", timings_); in WriteOutputFiles() 2096 TimingLogger::ScopedTiming t2("dex2oat Write VDEX", timings_); in WriteOutputFiles() [all …]
|
/art/compiler/jit/ |
D | jit_compiler.cc | 176 TimingLogger logger( in CompileMethod() 177 "JIT compiler timing logger", true, VLOG_IS_ON(jit), TimingLogger::TimingKind::kThreadCpu); in CompileMethod() 184 TimingLogger::ScopedTiming t2(compilation_kind == CompilationKind::kOsr in CompileMethod() 203 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 | 2281 TimingLogger::ScopedTiming t("UnBindBitmaps", GetCurrentGcIteration()->GetTimings()); in UnBindBitmaps() 2752 VLOG(heap) << Dumpable<TimingLogger>(*current_gc_iteration_.GetTimings()); in LogGC() 3279 void Heap::ProcessCards(TimingLogger* timings, in ProcessCards() 3283 TimingLogger::ScopedTiming t(__FUNCTION__, timings); in ProcessCards() 3291 TimingLogger::ScopedTiming t2(name, timings); in ProcessCards() 3295 TimingLogger::ScopedTiming t2("AllocSpaceRemSetClearCards", timings); in ProcessCards() 3298 TimingLogger::ScopedTiming t2("AllocSpaceClearCards", timings); in ProcessCards() 3332 TimingLogger* const timings = current_gc_iteration_.GetTimings(); in PreGcVerificationPaused() 3333 TimingLogger::ScopedTiming t(__FUNCTION__, timings); in PreGcVerificationPaused() 3335 TimingLogger::ScopedTiming t2("(Paused)PreGcVerifyHeapReferences", timings); in PreGcVerificationPaused() [all …]
|
/art/compiler/ |
D | common_compiler_test.cc | 233 TimingLogger timings("CommonCompilerTestImpl::CompileMethod", false, false); in CompileMethod() 234 TimingLogger::ScopedTiming t(__FUNCTION__, &timings); in CompileMethod() 270 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() 134 TimingLogger timings("WriteElf", false, false); in WriteElf() 156 TimingLogger timings("WriteElf", false, false); in WriteElf() 423 TimingLogger timings("OatTest::WriteRead", false, false); in TEST_F() 431 TimingLogger timings2("OatTest::WriteRead", false, false); in TEST_F() 533 TimingLogger timings("OatTest::EmptyTextSection", false, false); in TEST_F() 585 TimingLogger timings("OatTest::DexFileInput", false, false); in TestDexFileInput() 710 TimingLogger timings("OatTest::DexFileInput", false, false); in TestZipFileInput()
|
D | oat_writer.h | 49 class TimingLogger; variable 118 TimingLogger* timings, 353 TimingLogger* timings_;
|
D | oat_writer.cc | 386 TimingLogger* timings, in OatWriter() 765 TimingLogger::ScopedTiming split("InitBssLayout", timings_); in PrepareLayout() 771 TimingLogger::ScopedTiming split("InitClassOffsets", timings_); in PrepareLayout() 775 TimingLogger::ScopedTiming split("InitOatClasses", timings_); in PrepareLayout() 779 TimingLogger::ScopedTiming split("InitIndexBssMappings", timings_); in PrepareLayout() 783 TimingLogger::ScopedTiming split("InitOatMaps", timings_); in PrepareLayout() 787 TimingLogger::ScopedTiming split("InitOatDexFiles", timings_); in PrepareLayout() 792 TimingLogger::ScopedTiming split("InitOatCode", timings_); in PrepareLayout() 796 TimingLogger::ScopedTiming split("InitOatCodeDexFiles", timings_); in PrepareLayout() 801 TimingLogger::ScopedTiming split("InitDataBimgRelRoLayout", timings_); in PrepareLayout() [all …]
|
/art/runtime/gc/space/ |
D | image_space.cc | 499 TimingLogger logger(__PRETTY_FUNCTION__, /*precise=*/ true, VLOG_IS_ON(image)); in InitAppImage() 538 TimingLogger::ScopedTiming timing("RelocateImage", &logger); in InitAppImage() 563 TimingLogger::ScopedTiming timing("DeduplicateInternedStrings", &logger); in InitAppImage() 592 TimingLogger* logger, in Init() 601 TimingLogger::ScopedTiming timing("OpenImageFile", logger); in Init() 623 TimingLogger* logger, in Init() 634 TimingLogger::ScopedTiming timing("ReadImageHeader", logger); in Init() 719 TimingLogger::ScopedTiming timing("CreateImageBitmap", logger); in Init() 923 TimingLogger* logger, in LoadImageFile() 927 TimingLogger::ScopedTiming timing("MapImageFile", logger); in LoadImageFile() [all …]
|