4.4.3 Analyzing statistics from the Mali Offline Shader Compiler
The statistics produced by the Mali Offline Shader Compiler provide a measurement of how many cycles per vertex or pixel the shader requires.
The result is subdivided into three lines:
- Shortest path.
The shortest and longest paths are measured by looking at the effect of taking
or not taking branches in your code. This provides an estimate of the smallest and
largest number of cycles of execution.
For Arithmetic, the measurement in the first line is divided by the number of
Arithmetic pipelines. This is one, two or three, depending on the Mali GPU.
The second and third lines are for the Load/Store and Texture pipelines. These
do not take into account cache misses, so it is best to multiply those numbers by 1.5 to
get more realistic estimates.