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

Issue 309803002: [PowerProfiler] Power Profiler service should detect the sampling rate from the data provider. (Closed)

Created:
6 years, 6 months ago by vivekg_samsung
Modified:
6 years, 6 months ago
Reviewers:
Pan, sky, vivekg, qsr, pan deng, tonyg, pfeldman
CC:
chromium-reviews, darin-cc_chromium.org, jam, sky
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

[PowerProfiler] Power Profiler service should detect the sampling rate from the data provider. Present PowerProfilerService collects the power data from the PowerDataProvider at a fixed sampling rate of 50ms. This could be overwhelming for other software methods such as android power profiling, estimation based methods (PowerTutor, AppScope) as running them at 50ms would drain more power than being calculated. Data provider should inform the PowerProfilerService about the sampling rate at which it can operate optimally. BUG=379702 NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=275040

Patch Set 1 : #

Total comments: 2

Patch Set 2 : Patch for landing! #

Total comments: 2

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -12 lines) Patch
M content/browser/power_profiler/power_data_provider.h View 1 2 2 chunks +7 lines, -0 lines 0 comments Download
M content/browser/power_profiler/power_data_provider_ia_win.h View 1 2 chunks +1 line, -1 line 0 comments Download
M content/browser/power_profiler/power_data_provider_ia_win.cc View 1 2 2 chunks +10 lines, -0 lines 0 comments Download
M content/browser/power_profiler/power_profiler_service.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/power_profiler/power_profiler_service.cc View 1 1 chunk +1 line, -10 lines 0 comments Download
M content/browser/power_profiler/power_profiler_service_unittest.cc View 1 2 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 37 (0 generated)
vivekg
PTAL, thanks!
6 years, 6 months ago (2014-06-02 10:25:19 UTC) #1
vivekg
6 years, 6 months ago (2014-06-02 10:35:51 UTC) #2
vivekg
ping?
6 years, 6 months ago (2014-06-03 05:07:15 UTC) #3
qsr
lgtm
6 years, 6 months ago (2014-06-03 09:08:15 UTC) #4
vivekg
The CQ bit was checked by vivekg@chromium.org
6 years, 6 months ago (2014-06-03 09:27:36 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vivek.vg@samsung.com/309803002/20001
6 years, 6 months ago (2014-06-03 09:29:31 UTC) #6
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: chromium_presubmit on tryserver.chromium ...
6 years, 6 months ago (2014-06-03 11:06:24 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-03 11:09:23 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/71279)
6 years, 6 months ago (2014-06-03 11:09:23 UTC) #9
vivekg
+sky for OWNER review.
6 years, 6 months ago (2014-06-03 11:44:14 UTC) #10
sky
https://codereview.chromium.org/309803002/diff/20001/content/browser/power_profiler/power_data_provider.h File content/browser/power_profiler/power_data_provider.h (right): https://codereview.chromium.org/309803002/diff/20001/content/browser/power_profiler/power_data_provider.h#newcode29 content/browser/power_profiler/power_data_provider.h:29: virtual int64 SamplingRate() = 0; How about: virtual base::TimeDelta ...
6 years, 6 months ago (2014-06-03 15:41:01 UTC) #11
vivekg
Uploaded new patch with the review comments addressed. https://chromiumcodereview.appspot.com/309803002/diff/20001/content/browser/power_profiler/power_data_provider.h File content/browser/power_profiler/power_data_provider.h (right): https://chromiumcodereview.appspot.com/309803002/diff/20001/content/browser/power_profiler/power_data_provider.h#newcode29 content/browser/power_profiler/power_data_provider.h:29: virtual ...
6 years, 6 months ago (2014-06-04 04:35:45 UTC) #12
sky
LGTM https://chromiumcodereview.appspot.com/309803002/diff/60001/content/browser/power_profiler/power_data_provider.h File content/browser/power_profiler/power_data_provider.h (right): https://chromiumcodereview.appspot.com/309803002/diff/60001/content/browser/power_profiler/power_data_provider.h#newcode10 content/browser/power_profiler/power_data_provider.h:10: #include "base/basictypes.h" Why do you need to add ...
6 years, 6 months ago (2014-06-04 15:31:47 UTC) #13
vivekg
Thank you! https://chromiumcodereview.appspot.com/309803002/diff/60001/content/browser/power_profiler/power_data_provider.h File content/browser/power_profiler/power_data_provider.h (right): https://chromiumcodereview.appspot.com/309803002/diff/60001/content/browser/power_profiler/power_data_provider.h#newcode10 content/browser/power_profiler/power_data_provider.h:10: #include "base/basictypes.h" On 2014/06/04 15:31:48, sky wrote: ...
6 years, 6 months ago (2014-06-04 16:49:29 UTC) #14
vivekg
The CQ bit was checked by vivekg@chromium.org
6 years, 6 months ago (2014-06-05 00:33:38 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vivek.vg@samsung.com/309803002/80001
6 years, 6 months ago (2014-06-05 00:35:51 UTC) #16
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_chromium_gn_compile_rel on tryserver.chromium ...
6 years, 6 months ago (2014-06-05 05:35:03 UTC) #17
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-05 05:39:18 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_chromium_gn_compile_rel/builds/10851)
6 years, 6 months ago (2014-06-05 05:39:19 UTC) #19
vivekg
The CQ bit was checked by vivekg@chromium.org
6 years, 6 months ago (2014-06-05 05:40:31 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vivek.vg@samsung.com/309803002/80001
6 years, 6 months ago (2014-06-05 05:44:12 UTC) #21
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_gn_rel on tryserver.chromium ...
6 years, 6 months ago (2014-06-05 05:52:28 UTC) #22
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-05 05:57:30 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_gn_rel/builds/13699)
6 years, 6 months ago (2014-06-05 05:57:31 UTC) #24
vivekg
The CQ bit was checked by vivekg@chromium.org
6 years, 6 months ago (2014-06-05 05:59:22 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vivek.vg@samsung.com/309803002/80001
6 years, 6 months ago (2014-06-05 06:00:26 UTC) #26
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_gn_rel on tryserver.chromium ...
6 years, 6 months ago (2014-06-05 06:05:34 UTC) #27
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-05 06:12:21 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_gn_rel/builds/13703)
6 years, 6 months ago (2014-06-05 06:12:21 UTC) #29
vivekg
The CQ bit was checked by vivekg@chromium.org
6 years, 6 months ago (2014-06-05 06:35:45 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vivek.vg@samsung.com/309803002/80001
6 years, 6 months ago (2014-06-05 06:37:14 UTC) #31
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_gn_rel on tryserver.chromium ...
6 years, 6 months ago (2014-06-05 06:43:17 UTC) #32
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-05 06:46:44 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_gn_rel/builds/13721)
6 years, 6 months ago (2014-06-05 06:46:45 UTC) #34
vivekg
The CQ bit was checked by vivekg@chromium.org
6 years, 6 months ago (2014-06-05 06:59:05 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vivek.vg@samsung.com/309803002/80001
6 years, 6 months ago (2014-06-05 07:00:25 UTC) #36
commit-bot: I haz the power
6 years, 6 months ago (2014-06-05 07:29:28 UTC) #37
Message was sent while issue was closed.
Change committed as 275040

Powered by Google App Engine
This is Rietveld 408576698