System Metrics Mali samples
System Metrics Mali has samples to help you integrate provided counters into your project.
While running, samples generate information about their current state. You can use the Profiler Module Editor to monitor the state of plug-in counters. You can add System Metrics Mali counters and record updates in the same way as usual Profiler data.
Read GPU Metric
Note: You need an Android phone with a Mali GPU to use this sample.
The Read GPU Metric sample shows how GPU metrics can be accessed at runtime.
The sample demonstrates how to create a ProfilerRecorder associated with GPU Metric, how to read it, and how to dispose of created ProfilerRecorder after use.