Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1036)

Issue 402153002: Update parsing of dumpsys batterystats (Closed)

Created:
6 years, 5 months ago by qsr
Modified:
6 years, 5 months ago
Reviewers:
pasko, tonyg
CC:
chromium-reviews, telemetry+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

Update parsing of dumpsys batterystats The format of dumpsys batterystats has changed. This CL updates the parsing. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284659

Patch Set 1 #

Total comments: 14

Patch Set 2 : Follow review #

Total comments: 8

Patch Set 3 : Follow review #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+14634 lines, -1976 lines) Patch
M tools/telemetry/telemetry/core/platform/power_monitor/android_dumpsys_power_monitor.py View 1 2 2 chunks +40 lines, -16 lines 2 comments Download
M tools/telemetry/telemetry/core/platform/power_monitor/android_dumpsys_power_monitor_unittest.py View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
D tools/telemetry/unittest_data/batterystats_v7.csv View 1 chunk +0 lines, -433 lines 0 comments Download
D tools/telemetry/unittest_data/batterystats_v7_no_data.csv View 1 chunk +0 lines, -1524 lines 0 comments Download
A tools/telemetry/unittest_data/batterystats_v8.csv View 1 chunk +7315 lines, -0 lines 0 comments Download
A tools/telemetry/unittest_data/batterystats_v8_no_data.csv View 1 chunk +7276 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
qsr
6 years, 5 months ago (2014-07-21 12:32:33 UTC) #1
pasko
https://codereview.chromium.org/402153002/diff/1/tools/telemetry/telemetry/core/platform/power_monitor/android_dumpsys_power_monitor.py File tools/telemetry/telemetry/core/platform/power_monitor/android_dumpsys_power_monitor.py (right): https://codereview.chromium.org/402153002/diff/1/tools/telemetry/telemetry/core/platform/power_monitor/android_dumpsys_power_monitor.py#newcode58 tools/telemetry/telemetry/core/platform/power_monitor/android_dumpsys_power_monitor.py:58: """Parse output of 'dumpsys batterystats -c' I could not ...
6 years, 5 months ago (2014-07-21 13:13:11 UTC) #2
qsr
https://codereview.chromium.org/402153002/diff/1/tools/telemetry/telemetry/core/platform/power_monitor/android_dumpsys_power_monitor.py File tools/telemetry/telemetry/core/platform/power_monitor/android_dumpsys_power_monitor.py (right): https://codereview.chromium.org/402153002/diff/1/tools/telemetry/telemetry/core/platform/power_monitor/android_dumpsys_power_monitor.py#newcode58 tools/telemetry/telemetry/core/platform/power_monitor/android_dumpsys_power_monitor.py:58: """Parse output of 'dumpsys batterystats -c' On 2014/07/21 13:13:11, ...
6 years, 5 months ago (2014-07-21 13:30:24 UTC) #3
pasko
lgtm with a few more tweaks in comments. https://codereview.chromium.org/402153002/diff/20001/tools/telemetry/telemetry/core/platform/power_monitor/android_dumpsys_power_monitor.py File tools/telemetry/telemetry/core/platform/power_monitor/android_dumpsys_power_monitor.py (right): https://codereview.chromium.org/402153002/diff/20001/tools/telemetry/telemetry/core/platform/power_monitor/android_dumpsys_power_monitor.py#newcode61 tools/telemetry/telemetry/core/platform/power_monitor/android_dumpsys_power_monitor.py:61: https://android.googlesource.com/platform/frameworks/base/+/master/core/java/android/os/BatteryStats.java ...
6 years, 5 months ago (2014-07-21 13:52:02 UTC) #4
qsr
https://codereview.chromium.org/402153002/diff/20001/tools/telemetry/telemetry/core/platform/power_monitor/android_dumpsys_power_monitor.py File tools/telemetry/telemetry/core/platform/power_monitor/android_dumpsys_power_monitor.py (right): https://codereview.chromium.org/402153002/diff/20001/tools/telemetry/telemetry/core/platform/power_monitor/android_dumpsys_power_monitor.py#newcode61 tools/telemetry/telemetry/core/platform/power_monitor/android_dumpsys_power_monitor.py:61: https://android.googlesource.com/platform/frameworks/base/+/master/core/java/android/os/BatteryStats.java Given that this will have to evolve with ...
6 years, 5 months ago (2014-07-21 14:03:53 UTC) #5
tonyg
lgtm https://codereview.chromium.org/402153002/diff/40001/tools/telemetry/telemetry/core/platform/power_monitor/android_dumpsys_power_monitor.py File tools/telemetry/telemetry/core/platform/power_monitor/android_dumpsys_power_monitor.py (right): https://codereview.chromium.org/402153002/diff/40001/tools/telemetry/telemetry/core/platform/power_monitor/android_dumpsys_power_monitor.py#newcode97 tools/telemetry/telemetry/core/platform/power_monitor/android_dumpsys_power_monitor.py:97: break Should we logging.warn here?
6 years, 5 months ago (2014-07-22 03:12:51 UTC) #6
qsr
https://codereview.chromium.org/402153002/diff/40001/tools/telemetry/telemetry/core/platform/power_monitor/android_dumpsys_power_monitor.py File tools/telemetry/telemetry/core/platform/power_monitor/android_dumpsys_power_monitor.py (right): https://codereview.chromium.org/402153002/diff/40001/tools/telemetry/telemetry/core/platform/power_monitor/android_dumpsys_power_monitor.py#newcode97 tools/telemetry/telemetry/core/platform/power_monitor/android_dumpsys_power_monitor.py:97: break On 2014/07/22 03:12:50, tonyg wrote: > Should we ...
6 years, 5 months ago (2014-07-22 07:51:23 UTC) #7
qsr
The CQ bit was checked by qsr@chromium.org
6 years, 5 months ago (2014-07-22 07:51:26 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/qsr@chromium.org/402153002/40001
6 years, 5 months ago (2014-07-22 07:52:04 UTC) #9
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_rel on tryserver.chromium ...
6 years, 5 months ago (2014-07-22 08:48:09 UTC) #10
commit-bot: I haz the power
6 years, 5 months ago (2014-07-22 10:32:51 UTC) #11
Message was sent while issue was closed.
Change committed as 284659

Powered by Google App Engine
This is Rietveld 408576698