ScopedTimeMeasurement for AudioThread timings

Hi all,

would ScopedTimeMeasurement (or bottom line Time::getHighResolutionTicks) be suitable to time operations on the audio thread for debug/monitoring purposes or does it raise problems?
E.g. the call to get the ticks it self uses up huge amounts of time or is so unprecise that it doesn’t really reflect what is happening.

The feature I’m creating is not meant for the actual perform mode but for the user to pin point problematic spots.

Would be great to hear some tipps or ideas, thanks in advance!
Best, Rincewind