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 must
be 1 to 3600
no Wine at
bin/wine, or
not executable
not on PATH:
install Xcode
not enough
free disk:
N GB free,
M GB needed
screen locked
unlock to run
another run
is running;
remove lock
if none is
the check passed
refused, with the message written under the check