You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add CoroutineProfiler interface with a updateElapsedMicros()
method.
Add Coroutine::setProfiler() to store the profiler pointer.
Add Coroutine::runCoroutineWithProfiler() which measures the
elapsed time of runCoroutine() and calls CoroutineProfiler::updateElapsedMicros().
Add CoroutineScheduler::runCoroutineWithProfiler() which calls Coroutine::runCoroutineWithProfiler() instead of the normal Coroutine::runCoroutine().
Add CoroutineScheduler::loopWithProfiler() public static method
which calls runCoroutineWithProfiler().
Provide LogBinProfiler subclass of CoroutineProfiler.
Keeps a frequency count of the elapsed microseconds using 32 bins
representing the log2() function of the elapsed microseconds.
Provide 2 renderers of LogBinProfiler:
LogBinTableRenderer::printTo() prints a formatted table of the
frequency count over all coroutines. This represents a poor-man's
version of the log-log graph of the frequency count.
LogBinJsonRenderer::printTo() prints the frequency count
in JSON format.