/cts/tests/tests/util/src/android/util/cts/ |
TimingLoggerTest.java | 20 import android.util.TimingLogger; 27 TimingLogger timings = new TimingLogger(LOG_TAG, "testTimingLogger");
|
/art/runtime/base/ |
timing_logger.cc | 36 constexpr size_t TimingLogger::kIndexNotFound; 69 void CumulativeLogger::AddLogger(const TimingLogger &logger) { 71 TimingLogger::TimingData timing_data(logger.CalculateTimingData()); 72 const std::vector<TimingLogger::Timing>& timings = logger.GetTimings(); 130 TimingLogger::TimingLogger(const char* name, bool precise, bool verbose) 134 void TimingLogger::Reset() { 138 void TimingLogger::StartTiming(const char* label) { 144 void TimingLogger::EndTiming() { 149 uint64_t TimingLogger::GetTotalNs() const [all...] |
timing_logger_test.cc | 29 TimingLogger logger("StartEnd", true, false); 44 TimingLogger logger("StartNewEnd", true, false); 70 TimingLogger logger("StartNewEndNested", true, false); 87 EXPECT_NE(idx_1, TimingLogger::kIndexNotFound); 88 EXPECT_NE(idx_2, TimingLogger::kIndexNotFound); 89 EXPECT_NE(idx_3, TimingLogger::kIndexNotFound); 90 EXPECT_NE(idx_4, TimingLogger::kIndexNotFound); 91 EXPECT_NE(idx_5, TimingLogger::kIndexNotFound); 92 EXPECT_EQ(idx_6, TimingLogger::kIndexNotFound); 93 TimingLogger::TimingData data = logger.CalculateTimingData() [all...] |
timing_logger.h | 29 class TimingLogger; 45 void AddLogger(const TimingLogger& logger) LOCKS_EXCLUDED(lock_); 78 class TimingLogger { 131 friend class TimingLogger; 134 explicit TimingLogger(const char* name, bool precise, bool verbose); 135 ~TimingLogger(); 159 explicit ScopedTiming(const char* label, TimingLogger* logger) : logger_(logger) { 171 TimingLogger* const logger_; // The timing logger which the scoped timing is associated with. 195 DISALLOW_COPY_AND_ASSIGN(TimingLogger);
|
/art/patchoat/ |
patchoat.h | 43 static bool Patch(File* oat_in, off_t delta, File* oat_out, TimingLogger* timings); 46 TimingLogger* timings); 50 TimingLogger* timings); 54 PatchOat(ElfFile* oat_file, off_t delta, TimingLogger* timings) 57 MemMap* heap, off_t delta, TimingLogger* timings) 61 MemMap* heap, off_t delta, TimingLogger* timings) 119 TimingLogger* timings_;
|
patchoat.cc | 113 TimingLogger* timings) { 120 TimingLogger::ScopedTiming t("Runtime Setup", timings); 191 TimingLogger* timings) { 201 TimingLogger::ScopedTiming t("Runtime Setup", timings); 293 TimingLogger::ScopedTiming t("Writing Elf File", timings_); 308 TimingLogger::ScopedTiming t("Writing image File", timings_); 340 TimingLogger::ScopedTiming t("Walk Bitmap", timings_); 444 bool PatchOat::Patch(File* input_oat, off_t delta, File* output_oat, TimingLogger* timings) { 449 TimingLogger::ScopedTiming t("Setup Oat File Patching", timings); 518 TimingLogger::ScopedTiming t("Fixup Elf Text Section", timings_) [all...] |
/art/runtime/gc/collector/ |
mark_compact.cc | 59 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); 121 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); 132 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); 187 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); 235 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); 242 TimingLogger::ScopedTiming t( 252 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); 255 TimingLogger::ScopedTiming t2("MarkAllocStackAsLive", GetTimings()); 264 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); 341 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()) [all...] |
garbage_collector.h | 59 TimingLogger* GetTimings() { 99 TimingLogger timings_; 170 TimingLogger* GetTimings() {
|
mark_sweep.cc | 84 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); 112 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); 179 TimingLogger::ScopedTiming t("(Paused)PausePhase", GetTimings()); 191 TimingLogger::ScopedTiming t2("SwapStacks", GetTimings()); 213 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); 243 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); 250 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); 268 TimingLogger::ScopedTiming t(name, GetTimings()); 283 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); 303 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()) [all...] |
semi_space.cc | 62 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); 133 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); 164 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); 226 TimingLogger::ScopedTiming t("RevokeAllThreadLocalAllocationStacks", GetTimings()); 312 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); 314 TimingLogger::ScopedTiming t2("MarkStackAsLive", GetTimings()); 324 TimingLogger::ScopedTiming t2( 342 TimingLogger::ScopedTiming t2("UpdateAndMarkRememberedSet", GetTimings()); 357 TimingLogger::ScopedTiming t2("VisitLiveBits", GetTimings()); 369 TimingLogger::ScopedTiming t("VisitLargeObjects", GetTimings()) [all...] |
garbage_collector.cc | 104 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings());
|
/frameworks/base/core/java/android/util/ |
TimingLogger.java | 28 * TimingLogger timings = new TimingLogger(TAG, "methodA"); 48 public class TimingLogger { 69 * Create and initialize a TimingLogger object that will log using 76 public TimingLogger(String tag, String label) { 81 * Clear and initialize a TimingLogger object that will log using 95 * Clear and initialize a TimingLogger object that will log using
|
/art/runtime/gc/ |
reference_processor.h | 28 class TimingLogger; 46 void ProcessReferences(bool concurrent, TimingLogger* timings, bool clear_soft_references,
|
reference_processor.cc | 113 void ReferenceProcessor::ProcessReferences(bool concurrent, TimingLogger* timings, 119 TimingLogger::ScopedTiming t(concurrent ? __FUNCTION__ : "(Paused)ProcessReferences", timings); 130 TimingLogger::ScopedTiming split(concurrent ? "ForwardSoftReferences" : 146 TimingLogger::ScopedTiming t(concurrent ? "EnqueueFinalizerReferences" :
|
heap.cc | [all...] |
/art/compiler/dex/ |
compiler_ir.h | 90 TimingLogger timings;
|
/art/compiler/driver/ |
compiler_driver.h | 58 class TimingLogger; 113 TimingLogger* timings) 117 void CompileOne(mirror::ArtMethod* method, TimingLogger* timings) 647 ThreadPool* thread_pool, TimingLogger* timings) 650 void LoadImageClasses(TimingLogger* timings); 656 ThreadPool* thread_pool, TimingLogger* timings) 660 ThreadPool* thread_pool, TimingLogger* timings) 664 ThreadPool* thread_pool, TimingLogger* timings); 667 ThreadPool* thread_pool, TimingLogger* timings) 671 ThreadPool* thread_pool, TimingLogger* timings) [all...] |
compiler_driver.cc | 508 TimingLogger* timings) { 548 void CompilerDriver::CompileOne(mirror::ArtMethod* method, TimingLogger* timings) { 596 ThreadPool* thread_pool, TimingLogger* timings) { 605 ThreadPool* thread_pool, TimingLogger* timings) { 695 void CompilerDriver::LoadImageClasses(TimingLogger* timings) 702 TimingLogger::ScopedTiming t("LoadImageClasses", timings); 795 void CompilerDriver::UpdateImageClasses(TimingLogger* timings) { 797 TimingLogger::ScopedTiming t("UpdateImageClasses", timings); [all...] |
compiler_driver_test.cc | 41 TimingLogger timings("CompilerDriverTest::CompileAll", false, false); 42 TimingLogger::ScopedTiming t(__FUNCTION__, &timings);
|
/art/compiler/ |
image_test.cc | 68 TimingLogger timings("ImageTest::WriteRead", false, false); 69 TimingLogger::ScopedTiming t("CompileAll", &timings);
|
common_compiler_test.cc | 370 TimingLogger timings("CommonTest::CompileMethod", false, false); 371 TimingLogger::ScopedTiming t(__FUNCTION__, &timings); 373 TimingLogger::ScopedTiming t2("MakeExecutable", &timings);
|
oat_test.cc | 88 TimingLogger timings("OatTest::WriteRead", false, false); 112 TimingLogger timings("OatTest::WriteRead", false, false);
|
oat_writer.cc | 55 TimingLogger* timings, 99 TimingLogger::ScopedTiming split("InitOatHeader", timings); 103 TimingLogger::ScopedTiming split("InitOatDexFiles", timings); 107 TimingLogger::ScopedTiming split("InitDexFiles", timings); 111 TimingLogger::ScopedTiming split("InitOatClasses", timings); 115 TimingLogger::ScopedTiming split("InitOatMaps", timings); 119 TimingLogger::ScopedTiming split("InitOatCode", timings); 123 TimingLogger::ScopedTiming split("InitOatCodeDexFiles", timings); [all...] |
/art/runtime/ |
thread_list.h | 30 class TimingLogger;
|
/art/dex2oat/ |
dex2oat.cc | 355 TimingLogger& timings, 397 TimingLogger::ScopedTiming t2("dex2oat OatWriter", &timings); 403 TimingLogger::ScopedTiming t3("Loading image checksum", &timings); [all...] |