Home
last modified time | relevance | path

Searched refs:TimingLogger (Results 1 – 25 of 38) 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.cc39 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 …]
Dtiming_logger.h31 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/
Dcompiler_driver.h78 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 …]
Dcompiler_driver.cc323 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/
Dsemi_space.cc65 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 …]
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()
87 TimingLogger timings_;
Dconcurrent_copying.cc220 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 …]
Dsticky_mark_sweep.cc64 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); in MarkConcurrentRoots()
Dgarbage_collector.h105 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.cc654 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/
Djit_compiler.cc190 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/
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.cc2425 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/
Dimage_space.cc682 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/
Dcommon_compiler_test.cc173 TimingLogger timings("CommonCompilerTest::CompileMethod", false, false); in CompileMethod()
174 TimingLogger::ScopedTiming t(__FUNCTION__, &timings); in CompileMethod()
209 TimingLogger::ScopedTiming t2("MakeExecutable", &timings); in CompileMethod()
Dcommon_compiler_test.h40 class TimingLogger; variable
/art/dex2oat/linker/
Doat_writer_test.cc106 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()
Doat_writer.h49 class TimingLogger; variable
124 TimingLogger* timings,
367 TimingLogger* timings_;
Doat_writer.cc369 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/
Ddex_to_dex_decompiler_test.cc41 TimingLogger timings("DexToDexDecompilerTest::CompileAll", false, false); in CompileAll()

12