In my application I need to report audio thread CPU usage with a fair amount of confidence and warn if the CPU is struggeling.
Measuring the proportinal time in an audio callback will only work if there are no thread suspends or -switches. In practice, the audio thread is never interruputed?