summaryrefslogtreecommitdiff
path: root/overlay/gpu-perf.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-08-17 23:07:01 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2013-08-17 23:21:34 +0100
commitf185f46114620ff8938abc965f89ecb4d295b4f4 (patch)
treea4f41c7b0fb43e7bb5726fcd19854f8d0e9c8c7a /overlay/gpu-perf.h
parent67f533f836487093a27e176d64de206772088345 (diff)
overlay: Correct layout of ring/seqno in raw sample
For seqno completion, the events are too coarse i.e. one event may signal the completion of a few seqno. We will need to sort the events to properly compute the busy times. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'overlay/gpu-perf.h')
-rw-r--r--overlay/gpu-perf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/overlay/gpu-perf.h b/overlay/gpu-perf.h
index ced9379e..c0e00301 100644
--- a/overlay/gpu-perf.h
+++ b/overlay/gpu-perf.h
@@ -25,6 +25,7 @@ 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;