summaryrefslogtreecommitdiff
path: root/overlay/gpu-perf.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-08-17 21:14:10 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2013-08-17 21:14:10 +0100
commiteed59eac47bae095513a5b1b6286fdd556d8a760 (patch)
tree3937d8c00440dacc50358b1156bd0228a04fc55f /overlay/gpu-perf.h
parentcc9de398cf5232e547e9131d72782732a552fc56 (diff)
overlay: Show per-process wait times
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'overlay/gpu-perf.h')
-rw-r--r--overlay/gpu-perf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/overlay/gpu-perf.h b/overlay/gpu-perf.h
index 557e501e..5c3e242e 100644
--- a/overlay/gpu-perf.h
+++ b/overlay/gpu-perf.h
@@ -18,6 +18,9 @@ struct gpu_perf {
pid_t pid;
int nr_requests[4];
void *user_data;
+
+ uint64_t wait_begin;
+ uint64_t wait_time;
} *comm;
};