+24
−12
+15
−3
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
- Add "coroutine execution" slice to each coroutine resumption. - Trace child coroutine context creation separately. - Remove ";" prefix, and move inheritedTracePrefix, which is only intended for testing, to a separate slice. - Add option for counting continuations, which can be overwritten by the sysprop: debug.coroutine_tracing.count_continuations_override. - Consolidate testing options into single testMode parameter - Only instantiate AtomicInteger used for counting child coroutines when necessary for testMode - Update README - Fix MultiThreadedCoroutineTracingTest#unconfinedLaunch test - Enable continuation counts in demo app - Reduce forceSuspend time in demo app from 250 ms to 25 ms - Convert demo app to compose Also, make improvements to demo app: - Separate implementation for blocking and async demos. - Add coroutine tracing tutorial. - Add thread pool demo to show what happens when multiple launches occur on the same scope simultaneously. Test: setprop debug.coroutine_tracing.count_continuations_override 1 Test: Build and install CoroutineTracingDemoApp Flag: com.android.systemui.coroutine_tracing Bug: 350657545 Change-Id: If2f99af2eebeae38c0f4716ea8f4fbc2d3b57902