diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-08-22 01:30:02 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-08-22 03:25:02 +0100 |
commit | b20a6b827924bfaf0bf92a1eae818385f90dfbea (patch) | |
tree | ffbb5dbdd32021cfc48f5fe8f159c1d546e1d445 /overlay/gpu-perf.h | |
parent | 4572067c88276c6f72e33e6b204527f8a7ba4481 (diff) |
overlay: Remove busy estimation
Too inaccurate to be useful.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
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); |