/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, bool precise, bool verbose) in TimingLogger() function in art::TimingLogger 134 void TimingLogger::Reset() { in Reset() 138 void TimingLogger::StartTiming(const char* label) { in StartTiming() 144 void TimingLogger::EndTiming() { in EndTiming() 149 uint64_t TimingLogger::GetTotalNs() const { in GetTotalNs() 156 size_t TimingLogger::FindTimingIndex(const char* name, size_t start_idx) const { in FindTimingIndex() [all …]
|
D | timing_logger.h | 29 class TimingLogger; variable 45 void AddLogger(const TimingLogger& logger) REQUIRES(!lock_); 78 class TimingLogger { 131 friend class TimingLogger; variable 134 TimingLogger(const char* name, bool precise, bool verbose); 135 ~TimingLogger(); 159 ScopedTiming(const char* label, TimingLogger* logger) : logger_(logger) { in ScopedTiming() 171 TimingLogger* const logger_; // The timing logger which the scoped timing is associated with. 195 DISALLOW_COPY_AND_ASSIGN(TimingLogger);
|
/art/runtime/gc/collector/ |
D | mark_compact.cc | 42 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); in BindBitmaps() 91 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); in CalculateObjectForwardingAddresses() 106 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); in InitializePhase() 156 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); in MarkingPhase() 205 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); in UpdateAndMarkModUnion() 212 TimingLogger::ScopedTiming t2( in UpdateAndMarkModUnion() 222 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); in MarkReachableObjects() 225 TimingLogger::ScopedTiming t2("MarkAllocStackAsLive", GetTimings()); in MarkReachableObjects() 234 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); in ReclaimPhase() 335 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); in UpdateReferences() [all …]
|
D | semi_space.cc | 63 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); in BindBitmaps() 145 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); in InitializePhase() 175 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); in MarkingPhase() 237 TimingLogger::ScopedTiming t2("RevokeAllThreadLocalAllocationStacks", GetTimings()); in MarkingPhase() 328 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); in MarkReachableObjects() 330 TimingLogger::ScopedTiming t2("MarkStackAsLive", GetTimings()); in MarkReachableObjects() 340 TimingLogger::ScopedTiming t2( in MarkReachableObjects() 364 TimingLogger::ScopedTiming t2("UpdateAndMarkRememberedSet", GetTimings()); in MarkReachableObjects() 367 TimingLogger::ScopedTiming t2("VisitLiveBits", GetTimings()); in MarkReachableObjects() 396 TimingLogger::ScopedTiming t2("VisitLargeObjects", GetTimings()); in MarkReachableObjects() [all …]
|
D | mark_sweep.cc | 82 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); in BindBitmaps() 113 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); in InitializePhase() 184 TimingLogger::ScopedTiming t("(Paused)PausePhase", GetTimings()); in PausePhase() 196 TimingLogger::ScopedTiming t2("SwapStacks", GetTimings()); in PausePhase() 218 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); in PreCleanCards() 248 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); in RevokeAllThreadLocalAllocationStacks() 255 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); in MarkingPhase() 295 TimingLogger::ScopedTiming t(name, GetTimings()); in UpdateAndMarkModUnion() 315 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); in ReclaimPhase() 340 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); in FindDefaultSpaceBitmap() [all …]
|
D | garbage_collector.h | 69 TimingLogger* GetTimings() { in GetTimings() 115 TimingLogger timings_; 177 TimingLogger* GetTimings() { in GetTimings()
|
D | concurrent_copying.cc | 111 TimingLogger::ScopedTiming split("(Paused)VerifyNoFromSpaceReferences", GetTimings()); in RunPhases() 161 TimingLogger::ScopedTiming split("InitializePhase", GetTimings()); in InitializePhase() 236 TimingLogger::ScopedTiming split("(Paused)FlipCallback", cc->GetTimings()); in Run() 252 TimingLogger::ScopedTiming split2("(Paused)VisitTransactionRoots", cc->GetTimings()); in Run() 263 TimingLogger::ScopedTiming split("FlipThreadRoots", GetTimings()); in FlipThreadRoots() 355 TimingLogger::ScopedTiming split("MarkingPhase", GetTimings()); in MarkingPhase() 364 TimingLogger::ScopedTiming split1("VisitImageRoots", GetTimings()); in MarkingPhase() 380 TimingLogger::ScopedTiming split2("VisitConcurrentRoots", GetTimings()); in MarkingPhase() 385 TimingLogger::ScopedTiming split5("VisitNonThreadRoots", GetTimings()); in MarkingPhase() 401 TimingLogger::ScopedTiming split7("ProcessMarkStack", GetTimings()); in MarkingPhase() [all …]
|
D | sticky_mark_sweep.cc | 60 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); in MarkConcurrentRoots()
|
/art/compiler/driver/ |
D | compiler_driver.h | 69 class TimingLogger; variable 123 TimingLogger* timings) 127 void CompileOne(Thread* self, ArtMethod* method, TimingLogger* timings) 554 TimingLogger* timings) 557 void LoadImageClasses(TimingLogger* timings) REQUIRES(!Locks::mutator_lock_); 564 TimingLogger* timings) 571 TimingLogger* timings) 576 TimingLogger* timings); 582 TimingLogger* timings) 587 TimingLogger* timings); [all …]
|
D | compiler_driver.cc | 471 TimingLogger* timings) { in CompileAll() 671 void CompilerDriver::CompileOne(Thread* self, ArtMethod* method, TimingLogger* timings) { in CompileOne() 759 TimingLogger* timings) { in Resolve() 819 TimingLogger* timings) { in ResolveConstStrings() 821 TimingLogger::ScopedTiming t("Resolve const-string Strings", timings); in ResolveConstStrings() 890 TimingLogger* timings) { in PreCompile() 1075 void CompilerDriver::LoadImageClasses(TimingLogger* timings) { in LoadImageClasses() 1081 TimingLogger::ScopedTiming t("LoadImageClasses", timings); in LoadImageClasses() 1304 void CompilerDriver::UpdateImageClasses(TimingLogger* timings) { in UpdateImageClasses() 1306 TimingLogger::ScopedTiming t("UpdateImageClasses", timings); in UpdateImageClasses() [all …]
|
D | compiler_driver_test.cc | 42 TimingLogger timings("CompilerDriverTest::CompileAll", false, false); in CompileAll() 43 TimingLogger::ScopedTiming t(__FUNCTION__, &timings); in CompileAll()
|
/art/patchoat/ |
D | patchoat.h | 47 static bool Patch(File* oat_in, off_t delta, File* oat_out, TimingLogger* timings, 53 TimingLogger* timings); 60 TimingLogger* timings); 67 PatchOat(ElfFile* oat_file, off_t delta, TimingLogger* timings) in PatchOat() 71 MemMap* heap, off_t delta, TimingLogger* timings) in PatchOat() 76 std::map<gc::space::ImageSpace*, std::unique_ptr<MemMap>>* map, TimingLogger* timings) in PatchOat() 226 TimingLogger* timings_;
|
D | patchoat.cc | 157 TimingLogger* timings) { in Patch() 161 TimingLogger::ScopedTiming t("Runtime Setup", timings); in Patch() 350 TimingLogger::ScopedTiming t("Writing Elf File", timings_); in WriteElf() 365 TimingLogger::ScopedTiming t("Writing image File", timings_); in WriteImage() 667 TimingLogger::ScopedTiming t("Walk Bitmap", timings_); in PatchImage() 755 bool PatchOat::Patch(File* input_oat, off_t delta, File* output_oat, TimingLogger* timings, in Patch() 761 TimingLogger::ScopedTiming t("Setup Oat File Patching", timings); in Patch() 824 TimingLogger::ScopedTiming t("Fixup Elf Text Section", timings_); in PatchElf() 988 static int patchoat_image(TimingLogger& timings, in patchoat_image() 1014 TimingLogger::ScopedTiming pt("patch image and oat", &timings); in patchoat_image() [all …]
|
/art/runtime/gc/ |
D | reference_processor.h | 28 class TimingLogger; variable 49 void ProcessReferences(bool concurrent, TimingLogger* timings, bool clear_soft_references,
|
D | reference_processor.cc | 119 void ReferenceProcessor::ProcessReferences(bool concurrent, TimingLogger* timings, in ProcessReferences() 122 TimingLogger::ScopedTiming t(concurrent ? __FUNCTION__ : "(Paused)ProcessReferences", timings); in ProcessReferences() 136 TimingLogger::ScopedTiming split(concurrent ? "ForwardSoftReferences" : in ProcessReferences() 153 TimingLogger::ScopedTiming t2(concurrent ? "EnqueueFinalizerReferences" : in ProcessReferences()
|
D | heap.cc | 2413 TimingLogger::ScopedTiming t("UnBindBitmaps", GetCurrentGcIteration()->GetTimings()); in UnBindBitmaps() 2772 VLOG(heap) << Dumpable<TimingLogger>(*current_gc_iteration_.GetTimings()); in LogGC() 3280 void Heap::ProcessCards(TimingLogger* timings, in ProcessCards() 3284 TimingLogger::ScopedTiming t(__FUNCTION__, timings); in ProcessCards() 3292 TimingLogger::ScopedTiming t2(name, timings); in ProcessCards() 3297 TimingLogger::ScopedTiming t2("AllocSpaceRemSetClearCards", timings); in ProcessCards() 3300 TimingLogger::ScopedTiming t2("AllocSpaceClearCards", timings); in ProcessCards() 3334 TimingLogger* const timings = current_gc_iteration_.GetTimings(); in PreGcVerificationPaused() 3335 TimingLogger::ScopedTiming t(__FUNCTION__, timings); in PreGcVerificationPaused() 3337 TimingLogger::ScopedTiming t2("(Paused)PreGcVerifyHeapReferences", timings); in PreGcVerificationPaused() [all …]
|
/art/compiler/jit/ |
D | jit_compiler.cc | 204 TimingLogger logger("JIT compiler timing logger", true, VLOG_IS_ON(jit)); in CompileMethod() 219 TimingLogger::ScopedTiming t2("Compiling", &logger); in CompileMethod() 241 TimingLogger::ScopedTiming t2("TrimMaps", &logger); in CompileMethod()
|
/art/runtime/gc/space/ |
D | image_space.cc | 994 TimingLogger logger(__FUNCTION__, true, false); in RelocateInPlace() 1039 TimingLogger::ScopedTiming timing("Fixup classes", &logger); in RelocateInPlace() 1104 TimingLogger::ScopedTiming timing("Fixup methods", &logger); in RelocateInPlace() 1116 TimingLogger::ScopedTiming timing("Fixup fields", &logger); in RelocateInPlace() 1121 TimingLogger::ScopedTiming timing("Fixup imt", &logger); in RelocateInPlace() 1125 TimingLogger::ScopedTiming timing("Fixup conflict tables", &logger); in RelocateInPlace() 1157 TimingLogger logger(__PRETTY_FUNCTION__, true, VLOG_IS_ON(image)); in Init() 1162 TimingLogger::ScopedTiming timing("OpenImageFile", &logger); in Init() 1172 TimingLogger::ScopedTiming timing("ReadImageHeader", &logger); in Init() 1238 TimingLogger::ScopedTiming timing("MapImageFile", &logger); in Init() [all …]
|
/art/compiler/ |
D | oat_writer.h | 42 class TimingLogger; variable 114 OatWriter(bool compiling_boot_image, TimingLogger* timings); 286 TimingLogger* timings_;
|
D | oat_test.cc | 131 TimingLogger timings("WriteElf", false, false); in WriteElf() 150 TimingLogger timings("WriteElf", false, false); in WriteElf() 165 TimingLogger timings("WriteElf", false, false); in WriteElf() 352 TimingLogger timings("OatTest::WriteRead", false, false); in TEST_F() 363 TimingLogger timings2("OatTest::WriteRead", false, false); in TEST_F() 471 TimingLogger timings("OatTest::EmptyTextSection", false, false); in TEST_F() 526 TimingLogger timings("OatTest::DexFileInput", false, false); in TestDexFileInput() 619 TimingLogger timings("OatTest::DexFileInput", false, false); in TestZipFileInput()
|
D | common_compiler_test.cc | 248 TimingLogger timings("CommonTest::CompileMethod", false, false); in CompileMethod() 249 TimingLogger::ScopedTiming t(__FUNCTION__, &timings); in CompileMethod() 251 TimingLogger::ScopedTiming t2("MakeExecutable", &timings); in CompileMethod()
|
D | oat_writer.cc | 268 OatWriter::OatWriter(bool compiling_boot_image, TimingLogger* timings) in OatWriter() 489 TimingLogger::ScopedTiming split("InitOatClasses", timings_); in PrepareLayout() 493 TimingLogger::ScopedTiming split("InitOatMaps", timings_); in PrepareLayout() 497 TimingLogger::ScopedTiming split("InitOatCode", timings_); in PrepareLayout() 501 TimingLogger::ScopedTiming split("InitOatCodeDexFiles", timings_); in PrepareLayout() 1376 TimingLogger::ScopedTiming split("InitOatHeader", timings_); in InitOatHeader() 1387 TimingLogger::ScopedTiming split("InitOatDexFiles", timings_); in InitOatDexFiles() 1810 TimingLogger::ScopedTiming split("WriteDexFiles", timings_); in WriteDexFiles() 2068 TimingLogger::ScopedTiming split("WriteOatDexFiles", timings_); in WriteOatDexFiles() 2099 TimingLogger::ScopedTiming split("ExtendForTypeLookupTables", timings_); in ExtendForTypeLookupTables() [all …]
|
/art/dex2oat/ |
D | dex2oat.cc | 496 explicit Dex2Oat(TimingLogger* timings) : in Dex2Oat() 1304 TimingLogger::ScopedTiming t("dex2oat Setup", timings_); in Setup() 1346 TimingLogger::ScopedTiming t3("Loading image checksum", timings_); in Setup() 1391 TimingLogger::ScopedTiming t_dex("Writing and opening dex files", timings_); in Setup() 1515 TimingLogger::ScopedTiming t("dex2oat Compile", timings_); in Compile() 1652 TimingLogger::ScopedTiming t("dex2oat Oat", timings_); in WriteOatFiles() 1690 TimingLogger::ScopedTiming t2("dex2oat Prepare image address space", timings_); in WriteOatFiles() 1699 TimingLogger::ScopedTiming t2("dex2oat Write ELF", timings_); in WriteOatFiles() 1794 TimingLogger::ScopedTiming t("dex2oat ImageWriter", timings_); in HandleImage() 1816 TimingLogger::ScopedTiming t("dex2oat OatFile copy", timings_); in CopyStrippedToUnstripped() [all …]
|
/art/runtime/jit/ |
D | jit.h | 68 void AddTimingLogger(const TimingLogger& logger);
|