summaryrefslogtreecommitdiff
path: root/overlay/gpu-freq.h
diff options
context:
space:
mode:
Diffstat (limited to 'overlay/gpu-freq.h')
-rw-r--r--overlay/gpu-freq.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/overlay/gpu-freq.h b/overlay/gpu-freq.h
index d78aa1bb..cdd2bb6c 100644
--- a/overlay/gpu-freq.h
+++ b/overlay/gpu-freq.h
@@ -25,7 +25,15 @@
#ifndef GPU_FREQ_H
#define GPU_FREQ_H
+#include <stdint.h>
+
struct gpu_freq {
+ struct gpu_freq_stat {
+ uint64_t act, req;
+ uint64_t timestamp;
+ } stat[2];
+ int fd;
+ int count;
int min, max;
int rpn, rp1, rp0;
int request;