Home
last modified time | relevance | path

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

12

/art/runtime/base/
Dtiming_logger_test.cc29 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 …]
Dtiming_logger.cc36 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 …]
Dtiming_logger.h30 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/
Dcompiler_driver.h76 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 …]
Dcompiler_driver.cc337 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 …]
Dcompiler_driver_test.cc46 TimingLogger timings("CompilerDriverTest::CompileAllAndMakeExecutable", false, false); in CompileAllAndMakeExecutable()
49 TimingLogger::ScopedTiming t("MakeAllExecutable", &timings); in CompileAllAndMakeExecutable()
/art/runtime/gc/collector/
Dsemi_space.cc63 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 …]
Dmark_sweep.cc84 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 …]
Diteration.h41 TimingLogger* GetTimings() { in GetTimings()
94 TimingLogger timings_;
Dconcurrent_copying.cc239 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 …]
Dsticky_mark_sweep.cc64 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); in MarkConcurrentRoots()
Dgarbage_collector.h109 TimingLogger* GetTimings() { in GetTimings()
/art/dex2oat/
Dcommon_compiler_driver_test.h33 class TimingLogger; variable
42 TimingLogger* timings) REQUIRES(!Locks::mutator_lock_);
Dcommon_compiler_driver_test.cc35 TimingLogger* timings) { in CompileAll()
36 TimingLogger::ScopedTiming t(__FUNCTION__, timings); in CompileAll()
Ddex2oat.cc507 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/
Djit_compiler.cc176 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/
Dreference_processor.h28 class TimingLogger; variable
50 TimingLogger* timings,
Dreference_processor.cc154 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()
Dheap.cc2281 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/
Dcommon_compiler_test.cc233 TimingLogger timings("CommonCompilerTestImpl::CompileMethod", false, false); in CompileMethod()
234 TimingLogger::ScopedTiming t(__FUNCTION__, &timings); in CompileMethod()
270 TimingLogger::ScopedTiming t2("MakeExecutable", &timings); in CompileMethod()
Dcommon_compiler_test.h40 class TimingLogger; variable
/art/dex2oat/linker/
Doat_writer_test.cc107 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()
Doat_writer.h49 class TimingLogger; variable
118 TimingLogger* timings,
353 TimingLogger* timings_;
Doat_writer.cc386 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/
Dimage_space.cc499 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 …]

12