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

Side by Side Diff: content/browser/power_profiler/power_event.h

Issue 106223002: chrome power profiler chrome side changes (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_BROWSER_POWER_EVENT_H_
6 #define CONTENT_BROWSER_POWER_EVENT_H_
7
8 #include "base/time/time.h"
9
10 namespace content {
11
12 // A class used to monitor the power usage and tell profiler the power data
13 struct PowerEvent {
pfeldman 2014/01/09 11:38:58 You can define it within the helper.
14 enum Type {
qsr 2014/01/17 11:50:14 Also, pease comment on this variable, at least for
15 SOC_PACKAGE,
16 CPU,
17 GPU,
18 // counts the number of known PowerEvent
19 ID_COUNT
20 };
21
22 Type type;
23 base::TimeTicks time;
24 double value; // power
25 };
26
27 } // namespace content
28
29 #endif // CONTENT_BROWSER_POWER_EVENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698