Flow ยท Diagram Design

Preflight: six checks, in order, before anything starts

Checks before a recording starts Seven boxes in a row: arguments, program, xcrun, disk, screen, lock and start. Each of the first six can refuse the recording, and the message it gives is written under it; when all six pass, the recording starts. The first check that fails stops the recording. No process has started yet. The screen is checked only here; perf_record.sh repeats checks 1, 2, 4 and 6. pass pass pass pass pass pass Arguments Program xcrun Disk Screen Lock Start recording seconds mustbe 1 to 3600 no Wine atbin/wine, ornot executable not on PATH:install Xcode not enoughfree disk:N GB free,M GB needed screen lockedunlock to run another runis running;remove lockif none is the check passed refused, with the message written under the check