This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How do we check the GPU usage/load for android?

For Qualcomm devices, people can check their GPU load in the directory: /sys/class/kgsl/kgsl-3d0/gpubusy.

How do we achieve this similarly on Mali devices?

Thanks in advance.

- Trevor

  • Hi Trevor,

    Can you define exactly what you mean by "load" in this context? Do you mean the percentage of cycles the GPU was active and doing something?

    Depending on the kernel on your specific device there may be information available, for example on the Note 10.1 2014 I can see in /sys/devices/platform/mali.0 there is some information such as dvfs state, gpu memory use, and utilization. We of course ultimately have no control over what is/isn't exposed on any particular device, this decision is downstream of us.

    Hope this helps,

    Chris

  • Hi Chris,

    I want to know what are the two numbers mean when I read the gpubusy file in the following path:

    /sys/class/kgsl/kgsl-3d0

    Thank you!

    Best,

    Yitao

  • I suspect you'd have to ask on the Qualcomm Adreno support forums, not the Arm Mali ones - that's not our GPU ;)

    Cheers,
    Pete