diff options
Diffstat (limited to 'overlay/gpu-perf.h')
-rw-r--r-- | overlay/gpu-perf.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/overlay/gpu-perf.h b/overlay/gpu-perf.h index 56c783d6..3b91bd59 100644 --- a/overlay/gpu-perf.h +++ b/overlay/gpu-perf.h @@ -27,6 +27,8 @@ #include <stdint.h> +#define MAX_RINGS 4 + struct gpu_perf { int page_size; int nr_cpus; @@ -52,10 +54,9 @@ struct gpu_perf { struct gpu_perf_time { struct gpu_perf_time *next; struct gpu_perf_comm *comm; - int ring; uint32_t seqno; uint64_t time; - } *wait, *busy; + } *wait[MAX_RINGS]; }; void gpu_perf_init(struct gpu_perf *gp, unsigned flags); |