perf_record
Record a Wine or macOS binary with Metal System Trace to measure GPU ms per frame, frame intervals, FPS, and memory.
Instructions
Records program (an .exe under Wine, or a macOS binary with wine="native") for seconds with Metal System
Trace and returns its summary: GPU ms per frame, frame intervals, FPS, Metal and resident memory.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | program arguments as in a shell, quotes included | |
| wine | No | Wine directory holding bin/wine, or native | |
| label | Yes | name for the run: letters, digits, '.', '_', '-' | |
| prefix | No | ||
| program | Yes | path of the .exe, or of the macOS binary with wine=native | |
| seconds | No | recording length, default 20; use 30 under Wine, whose start-up takes part of it; the export afterwards takes about a minute | |
| workdir | No |