Documentation
¶
Overview ¶
Nested trace sections and counters example.
Demonstrates how to use the NDK trace API for systrace/perfetto integration:
- Nested synchronous sections (outer "NetworkRequest" containing an inner "ParseResponse")
- Overlapping asynchronous sections for concurrent operations
- Performance counters for tracking frame counts and byte throughput
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.