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

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

dumpsys: fix formatting of service dump times am: bca287d2

am: d1d9d717

Change-Id: I0aa936c156e8b78d714cbfcac66ca0fae306c757
parents 9030ab43 d1d9d717
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;