perf_export_trace
Exports a recorded run’s GPU frames to a Chrome trace file for Perfetto or chrome://tracing, with one slice per frame and compute, fragment, and vertex splits.
Instructions
Writes a recording's GPU frames as a Chrome trace file, <run>.chrome-trace in the runs directory, that
ui.perfetto.dev and chrome://tracing open: one slice per GPU frame, from its start for its GPU time (the sum of
its encoders' time, so a frame with parallel encoders can show shorter than it took), with the compute, fragment
and vertex split as arguments. Returns the file name and the number of frames.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run | Yes | a run name from perf_runs |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||