mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-10-06 21:53:20 +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()
|
mStackSampler.startDump()
|
||||||
} else {
|
} else {
|
||||||
val endTime = System.currentTimeMillis()
|
val endTime = System.currentTimeMillis()
|
||||||
|
|
||||||
|
if (x.indexOf("com.vitorpamplona.amethyst") > 0) {
|
||||||
|
Log.d("block-canary", "Looper ${endTime - mStartTimestamp}ms for $x")
|
||||||
|
}
|
||||||
|
|
||||||
mPrintingStarted = false
|
mPrintingStarted = false
|
||||||
//
|
//
|
||||||
if (isBlock(endTime)) {
|
if (isBlock(endTime)) {
|
||||||
|
Reference in New Issue
Block a user