Skip to content

API Interface AudioCpuDebug

github-actions[bot] edited this page Nov 24, 2026 · 1 revision

Interface: AudioCpuDebug

Defined in: src/plugins/audio/runtime/debugTypes.ts:108

Audio.debug().cpu (§1.3, architecture §4.3; Cp2 fills it).

Properties

clockStepMs

clockStepMs: number;

Defined in: src/plugins/audio/runtime/debugTypes.ts:114

The smallest non-zero Date.now step seen in the worklet, ms; 0 = none yet.


clockSteps

clockSteps: number;

Defined in: src/plugins/audio/runtime/debugTypes.ts:116

Wall-clock steps clamped (count).


hidden

hidden: string | null;

Defined in: src/plugins/audio/runtime/debugTypes.ts:122

Why the figure is hidden (the clock is too coarse), else null.


loadPermille

loadPermille: number | null;

Defined in: src/plugins/audio/runtime/debugTypes.ts:110

Main's load figure, permille; null before the first window fills ("CPU not yet measured"), never 0 for unknown.


refitResidual

refitResidual: number | null;

Defined in: src/plugins/audio/runtime/debugTypes.ts:118

The live work-unit refit's residual; null until fitted.


sections

sections: 
  | {
  buses: number;
  loudness: number;
  music: number;
  spatial: number;
  voices: number;
}
  | null;

Defined in: src/plugins/audio/runtime/debugTypes.ts:120

Estimated share per section, permille; null until fitted.


windowMs

windowMs: number;

Defined in: src/plugins/audio/runtime/debugTypes.ts:112

The window the figure covers, ms.

Clone this wiki locally