mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-30 12:25:49 +00:00
Two runs of the same scene drift apart by more than many effects worth measuring. APS5_AB=<seconds>:<switch>[+...] alternates phase A (switches as the environment sets them) and phase B (the listed switches toggled) at flip packets, under the GPU mutex after the draw pipeline drained, and prints "[ab] phase A|B <k> begins/settled at present <n> (t <s> s)". APS5_AB_START (a flip count, or <n>s) delays the first phase and APS5_AB_SETTLE (default 2 s) marks when a phase's reports are clean. Switches live in a registry (RuntimeSwitches) of relaxed atomics that start as the environment sets them; APS5_NO_BARRIER_BATCH is the first, since every elision it gates is decided per barrier. Any other name fails the first flip. Without APS5_AB nothing changes. AI-assisted: yes