summaryrefslogtreecommitdiff
path: root/overlay/power.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-08-27 11:20:43 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2013-08-27 12:31:13 +0100
commit1c3fd70357a57f823846010f59ba75f19e5d4af9 (patch)
treee3ef96d481a5c1d59782dab6c1b38c7e712adcd1 /overlay/power.h
parent6ec1d2c0ae631a3c0af445d4baa53561228be9a5 (diff)
overlay: Read power from perf_events
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'overlay/power.h')
-rw-r--r--overlay/power.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/overlay/power.h b/overlay/power.h
index a046bd5a..bf8346ce 100644
--- a/overlay/power.h
+++ b/overlay/power.h
@@ -33,6 +33,7 @@ struct power {
uint64_t timestamp;
} stat[2];
+ int fd;
int error;
int count;
int new_sample;