The CPU load smoothing filter used by PA uses hard coded coefficients. This means that the amount of smoothing varies depending on the callback buffer size.
Dynamically calculate the coefficients used to smooth the CPU Load Measurements over time to provide a uniform characterisation of CPU Load independent of rate at which PaUtil_BeginCpuLoadMeasurement / PaUtil_EndCpuLoadMeasurement are called.
Issue created by @RossBencina
[Trac: Originally assigned to none]
The CPU load smoothing filter used by PA uses hard coded coefficients. This means that the amount of smoothing varies depending on the callback buffer size.
Dynamically calculate the coefficients used to smooth the CPU Load Measurements over time to provide a uniform characterisation of CPU Load independent of rate at which PaUtil_BeginCpuLoadMeasurement / PaUtil_EndCpuLoadMeasurement are called.