Logs when the main looper calls an amethyst handler

This commit is contained in:
Vitor Pamplona 2024-07-16 14:54:58 -04:00
parent 87b8e18f1c
commit 64ae32d005

View File

@ -58,6 +58,11 @@ class LogMonitor : Printer {
mStackSampler.startDump()
} else {
val endTime = System.currentTimeMillis()
if (x.indexOf("com.vitorpamplona.amethyst") > 0) {
Log.d("block-canary", "Looper ${endTime - mStartTimestamp}ms for $x")
}
mPrintingStarted = false
//
if (isBlock(endTime)) {