diff options
author | Brian Paul <[email protected]> | 2016-03-04 09:14:34 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2016-03-07 09:33:15 -0700 |
commit | 7e8cf3454624213f27b01f43ea6317d3bb51bb90 (patch) | |
tree | f4279298d60f4e610b13861169e012ec70056eda /src/gallium/drivers/svga/svga_screen.c | |
parent | 903afc370fb925ce637c90d694ef1e4052a1a80f (diff) |
svga: add new flush-time HUD query
To measure the time spent flushing the command buffer.
Reviewed-by: Charmaine Lee <[email protected]>
Diffstat (limited to 'src/gallium/drivers/svga/svga_screen.c')
-rw-r--r-- | src/gallium/drivers/svga/svga_screen.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/svga/svga_screen.c b/src/gallium/drivers/svga/svga_screen.c index d5273e9d121..03dee73e255 100644 --- a/src/gallium/drivers/svga/svga_screen.c +++ b/src/gallium/drivers/svga/svga_screen.c @@ -829,6 +829,8 @@ svga_get_driver_query_info(struct pipe_screen *screen, PIPE_DRIVER_QUERY_TYPE_BYTES), QUERY("command-buffer-size", SVGA_QUERY_COMMAND_BUFFER_SIZE, PIPE_DRIVER_QUERY_TYPE_BYTES), + QUERY("flush-time", SVGA_QUERY_FLUSH_TIME, + PIPE_DRIVER_QUERY_TYPE_MICROSECONDS), /* running total counters */ QUERY("memory-used", SVGA_QUERY_MEMORY_USED, |