gallium/radeon: num-cs-flushes query should display per-frame average
authorMarek Olšák <marek.olsak@amd.com>
Fri, 10 Jun 2016 11:14:31 +0000 (13:14 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 14 Jun 2016 18:22:16 +0000 (20:22 +0200)
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeon/r600_query.c

index f090f1c011b993d695de7a38f7f2e5851712cb99..2e06746b9eff90064905c087aa1d578e9d991d9b 100644 (file)
@@ -1171,7 +1171,7 @@ static struct pipe_driver_query_info r600_driver_query_list[] = {
        X("requested-VRAM",             REQUESTED_VRAM,         BYTES, AVERAGE),
        X("requested-GTT",              REQUESTED_GTT,          BYTES, AVERAGE),
        X("buffer-wait-time",           BUFFER_WAIT_TIME,       MICROSECONDS, CUMULATIVE),
-       X("num-cs-flushes",             NUM_CS_FLUSHES,         UINT64, CUMULATIVE),
+       X("num-cs-flushes",             NUM_CS_FLUSHES,         UINT64, AVERAGE),
        X("num-bytes-moved",            NUM_BYTES_MOVED,        BYTES, CUMULATIVE),
        X("VRAM-usage",                 VRAM_USAGE,             BYTES, AVERAGE),
        X("GTT-usage",                  GTT_USAGE,              BYTES, AVERAGE),