Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c4862280 authored by Nandana Dutt's avatar Nandana Dutt Committed by android-build-merger
Browse files

Merge "Log duration reporter to logcat" am: 86d900ff am: 46fe8a94

am: 66cc69fe

Change-Id: I3eba5e7434484ac1add403109b69ce754a3bb26a
parents 9c71a809 66cc69fe
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -108,6 +108,8 @@ DurationReporter::~DurationReporter() {
        if (log_only_) {
            MYLOGD("Duration of '%s': %.3fs\n", title_.c_str(), (float)elapsed / NANOS_PER_SEC);
        } else {
            // TODO(124089395): Remove or rewrite when bugreport latency is fixed.
            MYLOGD("Duration of '%s': %.3fs\n", title_.c_str(), (float)elapsed / NANOS_PER_SEC);
            // Use "Yoda grammar" to make it easier to grep|sort sections.
            printf("------ %.3fs was the duration of '%s' ------\n", (float)elapsed / NANOS_PER_SEC,
                   title_.c_str());