diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-08-29 12:01:38 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-08-29 13:33:58 +0100 |
commit | 474ce5396e3dc5a3f057da84cb70a642c0ac90d6 (patch) | |
tree | 8fac2e048f53960245430fba74cb597b2c3ab7d0 /overlay/gpu-perf.h | |
parent | 75ef36713a75bc46faf5b92a4442869ef6999c3a (diff) |
overlay: Monitor per-ring context switch rate
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'overlay/gpu-perf.h')
-rw-r--r-- | overlay/gpu-perf.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/overlay/gpu-perf.h b/overlay/gpu-perf.h index 395eb8af..fae60bcb 100644 --- a/overlay/gpu-perf.h +++ b/overlay/gpu-perf.h @@ -41,7 +41,9 @@ struct gpu_perf { int (*func)(struct gpu_perf *, const void *); } *sample; - int flip_complete[4]; + unsigned flip_complete[MAX_RINGS]; + unsigned ctx_switch[MAX_RINGS]; + struct gpu_perf_comm { struct gpu_perf_comm *next; char name[256]; |