Files
pi-multifx-pedal/src/web/ui-v2-dist
shawn 4a6e7900ce fix: NAM CPU display now responds to bypass
The CPU label in the UI was showing psutil.cpu_percent(interval=None)
which returns total system CPU — barely moves and doesn't change when
the NAM model is bypassed.

Fix:
- Added _calc_nam_cpu() that computes NAM engine CPU from the engine's
  own per-block inference timing (avg_inference_ms) vs the JACK callback
  interval. When the NAM block is bypassed in the chain, returns 0.
- Added 'nam_cpu' field to /api/state response
- Status bar shows NAM CPU % next to VU meters (drops to 0 on bypass)
- Settings CPU row shows NAM CPU with system CPU in dim text beside it
- Changed psutil.cpu_percent(interval=None) → interval=0.2 for a real
  system CPU reading
2026-06-17 17:53:36 -04:00
..