/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) REQUIRES(!lock_); 78 class TimingLogger { 131 friend class TimingLogger; 134 TimingLogger(const char* name, bool precise, bool verbose); 135 ~TimingLogger(); 159 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/runtime/gc/collector/ |
mark_compact.cc | 42 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); 91 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); 106 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); 156 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); 205 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); 212 TimingLogger::ScopedTiming t2( 222 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); 225 TimingLogger::ScopedTiming t2("MarkAllocStackAsLive", GetTimings()); 234 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); 335 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()) [all...] |
semi_space.cc | 63 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); 145 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); 175 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); 237 TimingLogger::ScopedTiming t2("RevokeAllThreadLocalAllocationStacks", GetTimings()); 328 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); 330 TimingLogger::ScopedTiming t2("MarkStackAsLive", GetTimings()); 340 TimingLogger::ScopedTiming t2( 364 TimingLogger::ScopedTiming t2("UpdateAndMarkRememberedSet", GetTimings()); 367 TimingLogger::ScopedTiming t2("VisitLiveBits", GetTimings()); 396 TimingLogger::ScopedTiming t2("VisitLargeObjects", GetTimings()) [all...] |
garbage_collector.h | 69 TimingLogger* GetTimings() { 115 TimingLogger timings_; 177 TimingLogger* GetTimings() {
|
mark_sweep.cc | 82 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); 113 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); 184 TimingLogger::ScopedTiming t("(Paused)PausePhase", GetTimings()); 196 TimingLogger::ScopedTiming t2("SwapStacks", GetTimings()); 218 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); 248 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); 255 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); 295 TimingLogger::ScopedTiming t(name, GetTimings()); 315 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()); 340 TimingLogger::ScopedTiming t(__FUNCTION__, GetTimings()) [all...] |
concurrent_copying.cc | 111 TimingLogger::ScopedTiming split("(Paused)VerifyNoFromSpaceReferences", GetTimings()); 161 TimingLogger::ScopedTiming split("InitializePhase", GetTimings()); 236 TimingLogger::ScopedTiming split("(Paused)FlipCallback", cc->GetTimings()); 252 TimingLogger::ScopedTiming split2("(Paused)VisitTransactionRoots", cc->GetTimings()); 263 TimingLogger::ScopedTiming split("FlipThreadRoots", GetTimings()); 355 TimingLogger::ScopedTiming split("MarkingPhase", GetTimings()); 364 TimingLogger::ScopedTiming split1("VisitImageRoots", GetTimings()); 380 TimingLogger::ScopedTiming split2("VisitConcurrentRoots", GetTimings()); 385 TimingLogger::ScopedTiming split5("VisitNonThreadRoots", GetTimings()); 401 TimingLogger::ScopedTiming split7("ProcessMarkStack", GetTimings()) [all...] |
/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/patchoat/ |
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) 71 MemMap* heap, off_t delta, TimingLogger* timings) 76 std::map<gc::space::ImageSpace*, std::unique_ptr<MemMap>>* map, TimingLogger* timings) 226 TimingLogger* timings_;
|
patchoat.cc | 157 TimingLogger* timings) { 161 TimingLogger::ScopedTiming t("Runtime Setup", timings); 350 TimingLogger::ScopedTiming t("Writing Elf File", timings_); 365 TimingLogger::ScopedTiming t("Writing image File", timings_); 667 TimingLogger::ScopedTiming t("Walk Bitmap", timings_); 755 bool PatchOat::Patch(File* input_oat, off_t delta, File* output_oat, TimingLogger* timings, 761 TimingLogger::ScopedTiming t("Setup Oat File Patching", timings); 823 TimingLogger::ScopedTiming t("Fixup Elf Text Section", timings_); [all...] |
/art/compiler/driver/ |
compiler_driver.h | 69 class TimingLogger; 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...] |
compiler_driver.cc | 471 TimingLogger* timings) { 671 void CompilerDriver::CompileOne(Thread* self, ArtMethod* method, TimingLogger* timings) { 759 TimingLogger* timings) { 819 TimingLogger* timings) { 821 TimingLogger::ScopedTiming t("Resolve const-string Strings", timings); [all...] |
/art/runtime/gc/ |
reference_processor.h | 28 class TimingLogger; 49 void ProcessReferences(bool concurrent, TimingLogger* timings, bool clear_soft_references,
|
reference_processor.cc | 119 void ReferenceProcessor::ProcessReferences(bool concurrent, TimingLogger* timings, 122 TimingLogger::ScopedTiming t(concurrent ? __FUNCTION__ : "(Paused)ProcessReferences", timings); 136 TimingLogger::ScopedTiming split(concurrent ? "ForwardSoftReferences" : 153 TimingLogger::ScopedTiming t2(concurrent ? "EnqueueFinalizerReferences" :
|
heap.cc | [all...] |
/art/compiler/jit/ |
jit_compiler.cc | 204 TimingLogger logger("JIT compiler timing logger", true, VLOG_IS_ON(jit)); 219 TimingLogger::ScopedTiming t2("Compiling", &logger); 241 TimingLogger::ScopedTiming t2("TrimMaps", &logger);
|
/art/compiler/ |
oat_writer.h | 42 class TimingLogger; 114 OatWriter(bool compiling_boot_image, TimingLogger* timings); 286 TimingLogger* timings_;
|
common_compiler_test.cc | 247 TimingLogger timings("CommonTest::CompileMethod", false, false); 248 TimingLogger::ScopedTiming t(__FUNCTION__, &timings); 250 TimingLogger::ScopedTiming t2("MakeExecutable", &timings);
|
oat_test.cc | 131 TimingLogger timings("WriteElf", false, false); 150 TimingLogger timings("WriteElf", false, false); 165 TimingLogger timings("WriteElf", false, false); 352 TimingLogger timings("OatTest::WriteRead", false, false); 363 TimingLogger timings2("OatTest::WriteRead", false, false); 471 TimingLogger timings("OatTest::EmptyTextSection", false, false); 526 TimingLogger timings("OatTest::DexFileInput", false, false); 619 TimingLogger timings("OatTest::DexFileInput", false, false); [all...] |
/frameworks/support/v7/palette/src/main/java/android/support/v7/graphics/ |
ColorCutQuantizer.java | 22 import android.util.TimingLogger; 59 final TimingLogger mTimingLogger; 72 mTimingLogger = LOG_TIMINGS ? new TimingLogger(LOG_TAG, "Creation") : null;
|
/art/runtime/gc/space/ |
image_space.cc | [all...] |
/art/dex2oat/ |
dex2oat.cc | 496 explicit Dex2Oat(TimingLogger* timings) : [all...] |
/art/runtime/jit/ |
jit.h | 68 void AddTimingLogger(const TimingLogger& logger);
|