summaryrefslogtreecommitdiff
path: root/overlay/gpu-top.h
diff options
context:
space:
mode:
Diffstat (limited to 'overlay/gpu-top.h')
-rw-r--r--overlay/gpu-top.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/overlay/gpu-top.h b/overlay/gpu-top.h
index d3cdd779..7d3acb4a 100644
--- a/overlay/gpu-top.h
+++ b/overlay/gpu-top.h
@@ -36,6 +36,7 @@ struct gpu_top {
int num_rings;
int have_wait;
int have_sema;
+ int have_queued;
struct gpu_top_ring {
const char *name;
@@ -44,6 +45,7 @@ struct gpu_top {
uint8_t busy;
uint8_t wait;
uint8_t sema;
+ uint8_t queued;
} u;
uint32_t payload;
} u;
@@ -54,7 +56,11 @@ struct gpu_top {
uint64_t busy[MAX_RINGS];
uint64_t wait[MAX_RINGS];
uint64_t sema[MAX_RINGS];
+ uint64_t queued[MAX_RINGS];
} stat[2];
+
+ double queued[MAX_RINGS];
+
int count;
};