[Mesa-dev] [PATCH] gallium/radeon: num-cs-flushes query should display per-frame average

Nicolai Hähnle nhaehnle at gmail.com
Tue Jun 14 10:43:13 UTC 2016


Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>

On 13.06.2016 18:19, Marek Olšák wrote:
> From: Marek Olšák <marek.olsak at amd.com>
>
> ---
>   src/gallium/drivers/radeon/r600_query.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/gallium/drivers/radeon/r600_query.c b/src/gallium/drivers/radeon/r600_query.c
> index f090f1c..2e06746 100644
> --- a/src/gallium/drivers/radeon/r600_query.c
> +++ b/src/gallium/drivers/radeon/r600_query.c
> @@ -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),
>


More information about the mesa-dev mailing list