mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-27 05:06:52 +02:00
Logs when the main looper calls an amethyst handler
This commit is contained in:
@@ -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)) {
|
||||
|
Reference in New Issue
Block a user