Fix device sleep issue for jankbench workload#1081
Fix device sleep issue for jankbench workload#1081robF8 wants to merge 1 commit intoARM-software:masterfrom
Conversation
* Sleeping device when waiting for workload to end was causing workload to freeze. Changed device sleep to host sleep. * Panda dataframe.ix() is deprecated so changed to .loc()
|
The sleep on target is quite deliberate -- this allows the workload to be used with simulations, where on-target time might proceed at very different rate from wall-clock time. Could you provided a bit more detail regarding the freezes you're encountering when waiting on target? E.g. is it target specific? does the workload actually freeze, or is it running but the sleep not returning? or does the entire target crash for some reason? etc. |
|
It happens on quite a few of the devices, reproducible 100% on a mate20 and pixel 4. I thought it was the sleep not returning properly but now not so sure. The workload just seems to hang after stop_event.set() and self.join() is called in JankbenchRunMonitor::stop() and the logcat stream process isn't being terminated. |
|
A few things to check:
|
to occasionally freeze. Changed device sleep to host sleep.