commit | bf06df7d2d361ccca839813c54e2c9073c0c828e | [log] [tgz] |
---|---|---|
author | Yabin Cui <yabinc@google.com> | Thu Mar 26 14:00:49 2020 -0700 |
committer | Yabin Cui <yabinc@google.com> | Fri Mar 27 14:47:51 2020 -0700 |
tree | 83793d4913bc15b232a80fe1b14214caeb13a6ea | |
parent | 8c1fb92b54b18b9cd0e6f4d39648c0069822c893 [diff] |
simpleperf: fix percentage comment in stat cmd. Fix a bug of aggregating time_enabled,time_running introduced in https://android-review.googlesource.com/c/platform/system/extras/+/1220206/1/simpleperf/cmd_stat.cpp#1012. Move some code to cmd_stat_impl.h to add tests. Bug: 152518722 Test: run simpleperf_unit_test. Change-Id: I50dcaf9aa83de838cc00554420d232f1a8d54601 (cherry picked from commit b3ed39b2ce227407cd828c458233e9dc222641e8)