Files
reims-vgpu/scripts
Anees Iqbal e0bfcbc204 🆕 Measure window drags in the gate's boots
The owner asked for drag frame rates, and the numbers so far mixed conditions
or counted drags that never moved the window. Each boot now drags a plain
window (TextEdit) and a glass one (a Finder window) over QMP for 10 s at 120
pointer moves a second, after the guest's run (lane-gate/msi-drag.py).

A drag counts only where the window followed the pointer. A short probe
first finds a press point in the title bar that moves the window by the
pointer's distance. Through the drag, guest/bundle/tools/winmon tracks the
window's origin every 10 ms, and the origin must span the pointer path. A
case whose window did not move is not run, not a number, and fails only where
the baseline's window moved.

Measured from the host log's display updates during the drag: updates a
second, gap p99 and max gap, beside QEMU's and its graphics thread's CPU. A
gap over a second is a stall. In the correctness boot a stall fails the gate,
and in the bench boot the rate is gated against the baseline (10% floor).
2026-11-05 21:59:27 -08:00
..