I am currently testing hardware temperature tests, and I was wondering how you will do maximum performance. The task is that all 4 cores of my device are occupied in order to measure the maximum temperature?
I could, of course, start n threads with infinite loops, but I think there may be better ways to solve this problem.
while (true) { try { new Thread() { public void run() { while (true) { try { Runtime.getRuntime().exec("ps"); } catch (IOException e) {
Also in your manifest:
<application android:largeHeap="true" ...
adb shell top :
User 99%, System 0%, IOW 0%, IRQ 0% User 1216 + Nice 0 + Sys 4 + Idle 0 + IOW 0 + IRQ 0 + SIRQ 0 = 1220 PID PR CPU% S
But it is still not as effective as AnTuTu stability:

source share