-
Notifications
You must be signed in to change notification settings - Fork 70
Description
Sorry to bother you.
I add print to the MaliDevice::dumpAllCounters_V56
function in daemon/mali_userspace/MaliDevice.cpp
logg.logMessage("-------MailnameBlockIndex %u CounterIndex%u Delta %u",nameBlockIndex,counterIndex,delta);
Normally, the results are as follows
[151.5372070] INFO: dumpAllCounters_V56(mali_userspace/MaliDevice.cpp:673): -------MailnameBlockIndex 0 CounterIndex6 Delta 1039667 [151.5372419] INFO: dumpAllCounters_V56(mali_userspace/MaliDevice.cpp:673): -------MailnameBlockIndex 0 CounterIndex7 Delta 10586 [151.5372562] INFO: dumpAllCounters_V56(mali_userspace/MaliDevice.cpp:673): -------MailnameBlockIndex 0 CounterIndex10 Delta 708480 [151.5372694] INFO: dumpAllCounters_V56(mali_userspace/MaliDevice.cpp:673): -------MailnameBlockIndex 0 CounterIndex18 Delta 331187
Abnormally, the results are as follows
[151.8702393] INFO: dumpAllCounters_V56(mali_userspace/MaliDevice.cpp:673): -------MailnameBlockIndex 0 CounterIndex6 Delta 0 [151.8702683] INFO: dumpAllCounters_V56(mali_userspace/MaliDevice.cpp:673): -------MailnameBlockIndex 0 CounterIndex7 Delta 0 [151.8702905] INFO: dumpAllCounters_V56(mali_userspace/MaliDevice.cpp:673): -------MailnameBlockIndex 0 CounterIndex10 Delta 0 [151.8703119] INFO: dumpAllCounters_V56(mali_userspace/MaliDevice.cpp:673): -------MailnameBlockIndex 0 CounterIndex18 Delta 0
My load program is always running, I try to modify collect frequency use -r low
or -r high
, -r low
means 100HZ ( a hundred times a second ) , but nothing has changed. It's still going to be all zeros.
In same time , MalinameBlockIndex 0 CounterIndex 6 means MaliGPUCyclesGPUActive , it is always around a million.
GPU utilization = MaliGPUCyclesGPUActive / (GpuFrequency / CollectFrequency)
So my calculation of GPU utilization is wrong.