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

Issue 10783020: Add an activity monitor which profiles IO and CPU utilization. (Closed)

Created:
8 years, 5 months ago by Satish
Modified:
8 years, 5 months ago
CC:
chromium-reviews, pam+watch_chromium.org, Yaron
Visibility:
Public.

Description

Add an activity monitor which profiles IO and CPU utilization. This consists of a simple native program which dumps /proc/diskstats and /proc/stat to a file at a regular interval. The dump is then processed host-side into a JSON format which is charted in HTML via the Google Charts API. The perf test runners are not upstreamed yet and when they are this will be part of the set of profilers available. BUG=136690 TEST=manual, run activity_monitor.py to try out. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=147019

Patch Set 1 #

Total comments: 10

Patch Set 2 : Addressed review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+451 lines, -1 line) Patch
M build/all_android.gyp View 1 1 chunk +1 line, -0 lines 0 comments Download
A build/android/device_stats_monitor.py View 1 1 chunk +41 lines, -0 lines 0 comments Download
A build/android/pylib/device_stats_monitor.html View 1 1 chunk +143 lines, -0 lines 0 comments Download
A build/android/pylib/device_stats_monitor.py View 1 1 chunk +116 lines, -0 lines 0 comments Download
M build/android/pylib/test_options_parser.py View 1 1 chunk +1 line, -1 line 0 comments Download
A tools/android/device_stats_monitor/device_stats_monitor.cc View 1 1 chunk +108 lines, -0 lines 0 comments Download
A tools/android/device_stats_monitor/device_stats_monitor.gyp View 1 1 chunk +41 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Satish
8 years, 5 months ago (2012-07-16 16:54:27 UTC) #1
tonyg
lgtm
8 years, 5 months ago (2012-07-16 17:35:01 UTC) #2
bulach
I have a few comments below, mostly cleanup.. :) https://chromiumcodereview.appspot.com/10783020/diff/1/tools/android/activity_monitor/activity_monitor.cc File tools/android/activity_monitor/activity_monitor.cc (right): https://chromiumcodereview.appspot.com/10783020/diff/1/tools/android/activity_monitor/activity_monitor.cc#newcode25 tools/android/activity_monitor/activity_monitor.cc:25: ...
8 years, 5 months ago (2012-07-16 17:52:26 UTC) #3
Satish
All review comments addressed, PTAL
8 years, 5 months ago (2012-07-17 14:49:02 UTC) #4
bulach
lgtm, thanks!
8 years, 5 months ago (2012-07-17 15:19:00 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/satish@chromium.org/10783020/1007
8 years, 5 months ago (2012-07-17 15:27:01 UTC) #6
commit-bot: I haz the power
Change committed as 147019
8 years, 5 months ago (2012-07-17 16:48:07 UTC) #7
Scott Hess - ex-Googler
Satish, http://build.chromium.org/p/chromium/builders/Linux/builds/27963/steps/check_perms/logs/stdio build/android/pylib/device_stats_monitor.py: Has executable bit but not shebang You on this?
8 years, 5 months ago (2012-07-17 18:16:00 UTC) #8
Scott Hess - ex-Googler
8 years, 5 months ago (2012-07-17 18:37:33 UTC) #9
On 2012/07/17 18:16:00, shess wrote:
> Satish,
> 
>
http://build.chromium.org/p/chromium/builders/Linux/builds/27963/steps/check_...
> 
> build/android/pylib/device_stats_monitor.py: Has executable bit but not
shebang
> 
> You on this?

http://src.chromium.org/viewvc/chrome?view=rev&revision=147050

Powered by Google App Engine
This is Rietveld 408576698