Documentation
¶
Overview ¶
Basic systrace example: synchronous sections, asynchronous sections, and counters.
Demonstrates:
- Checking whether tracing is currently enabled
- Wrapping synchronous work in BeginSection / EndSection
- Tracking overlapping asynchronous operations with BeginAsyncSection / EndAsyncSection
- Publishing numeric counters visible in the trace timeline with SetCounter
This program must run on an Android device. Trace events are only recorded when a trace session is active (e.g. via `perfetto` or `atrace`).
Click to show internal directories.
Click to hide internal directories.