summaryrefslogtreecommitdiff
path: root/overlay/gpu-perf.c
diff options
context:
space:
mode:
Diffstat (limited to 'overlay/gpu-perf.c')
-rw-r--r--overlay/gpu-perf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/overlay/gpu-perf.c b/overlay/gpu-perf.c
index 642d20c9..d30d2125 100644
--- a/overlay/gpu-perf.c
+++ b/overlay/gpu-perf.c
@@ -264,7 +264,9 @@ static int busy_end(struct gpu_perf *gp, const void *event)
static int flip_complete(struct gpu_perf *gp, const void *event)
{
- gp->flip_complete++;
+ const struct sample_event *sample = event;
+
+ gp->flip_complete[sample->raw[0]]++;
return 1;
}