Hi,
I am trying to get all the GPU HW counters displayed by streamline.
I have built the debug build for DDK and for Linux I have enabled the configurations as mentioned in [1].
But I am just able to see the just the Mali core cycle counters and Mali external bus Access for rest of the Mali properties I get no live data. Is there I missing something here ?
Also is there a document which explains the MALI counters ? I mainly interested on GPU usage level (similar to CPU ones)
[1] https://github.com/ARM-software/gator
Cheers,
Prabhakar
Performance counters are described here:https://developer.arm.com/ip-products/graphics-and-multimedia/mali-gpus/mali-performance-counters
Perhaps others on the forum can suggest why you are not seeing data.
Hi Ronan,
Thank you for the pointer, how do we convert the MALI Core Cycle counters to overall GPU usage in percentage ?
We can't do this automatically - the maximum GPU frequency (absolute, or thermally sustainable) is device specific.
If you know this value you can use a custom expression to divide the counter by this frequency to determine a percentage. For example, if you know the top frequency is 1GHz you can compute the percentage as:
Kind regards, Pete
Hi Peter,
Thanks for the quick reply, $MaliGPUCyclesGPUActive is 90 megacycles. What is $ZOOM being referred to above ?
Does the zoom value refer to time frame as show below (1000 mega-cycles) ?
> What is $ZOOM being referred to above ?
Streamline uses a binned data model, where the bin size is the current UI zoom level. Each data point in an expression is the accumulated samples in a single bin. The $ZOOM is a built-in variable that contains the current bin size in seconds, so (1000000000 * $ZOOM) coverts the literal 1GHz constant into the number of cycles expected in the current bin at that frequency. Using $ZOOM like this means that the percentage makes sense, no matter what the UI zoom level is.
HTH, Pete
Sorry to nag so the $ZOOM value is 100ms ?
Yes. The value is in seconds, so will be "0.1" when at the 100ms zoom level, "0.001" when at the 1ms zoom level, etc.