Flow · Diagram Design
What perf_report.py does with a .trace
What perf_report.py does with a .trace
Eight steps in two rows: perf_report.py exports the trace tables with xctrace, checks the table of contents (a missing metal-gpu-intervals is an error, other missing tables go to missing_tables), reads the launched program's GPU work, detects unpresented work, then computes the frame numbers, the optional tables, pacing and hitches, and writes the files.
ONLY metal-gpu-intervals IS REQUIRED · THE OTHER TABLES ARE OPTIONAL
dashed box is the decision · dashed arrows are the branches out of it
absent: error
other absent: missing_tables
Export contents
and tables
(xctrace)
Check table
of contents
Read the
program's
GPU work
Detect
unpresented
work
Frame
numbers
Optional
tables
Pacing and
hitches
Write the
files
decision
step