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

Commit d1d9d717 authored by mukesh agrawal's avatar mukesh agrawal Committed by android-build-merger
Browse files

dumpsys: fix formatting of service dump times

am: bca287d2

Change-Id: I55dd6be4e75461a72703560c780b4aff851704a5
parents 6929fb5e bca287d2
Loading
Loading
Loading
Loading
+2 −3
Original line number Original line Diff line number Diff line
@@ -274,9 +274,8 @@ int main(int argc, char* const argv[])
            if (N > 1) {
            if (N > 1) {
              std::chrono::duration<double> elapsed_seconds =
              std::chrono::duration<double> elapsed_seconds =
                  std::chrono::steady_clock::now() - start;
                  std::chrono::steady_clock::now() - start;
              aout << StringPrintf("------ %.3fs was the duration of '", elapsed_seconds.count()).
              aout << StringPrintf("--------- %.3fs ", elapsed_seconds.count()).c_str()
                  c_str();
                   << "was the duration of dumpsys " << service_name << endl;
              aout << service_name << "' ------" << endl;
            }
            }
        } else {
        } else {
            aerr << "Can't find service: " << service_name << endl;
            aerr << "Can't find service: " << service_name << endl;