androidx.benchmark.perfetto


Classes

PerfettoConfig

Configuration for Perfetto trace recording.

PerfettoConfig.Binary

Binary representation of a Perfetto config proto.

PerfettoConfig.Text

TextProto representation of a Perfetto config.

PerfettoTrace
PerfettoTraceProcessor

Kotlin API for Perfetto Trace Processor, which enables SQL querying against the data stored in a Perfetto trace.

PerfettoTraceProcessor.Session

Handle to query sql data from a PerfettoTrace.

Row

A Map that maps column name to value in a row result from a QueryResultIterator.

Annotations

ExperimentalPerfettoCaptureApi

Annotation indicating experimental API for capturing Perfetto traces.

ExperimentalPerfettoTraceProcessorApi

Annotation indicating experimental API for querying data from Perfetto traces with Perfetto Trace Processor.

Top-level functions summary

Row

Convenience for constructing a RowResult for given column values.

Top-level functions

@ExperimentalPerfettoTraceProcessorApi
fun rowOf(vararg pairs: Pair<StringAny?>): Row

Convenience for constructing a RowResult for given column values.

Useful when asserting expected query results in tests.