Loading cmds/dumpsys/dumpsys.cpp +2 −3 Original line number Original line Diff line number Diff line Loading @@ -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; Loading Loading
cmds/dumpsys/dumpsys.cpp +2 −3 Original line number Original line Diff line number Diff line Loading @@ -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; Loading