Measuring HAL-Level Timer Latencies
KSRTM measures timer response latencies and obtains reports and histograms of the results.
This tool exercises the real-time HAL extension, and measures and reports timer response latencies against a synchronized clock. It can present a histogram of such latencies and report which kernel component was running when the longest latency event occurred. It can also provide a list of drivers. KSRTM optionally measures the latencies associated with kernel (DPC-level) and multimedia (user-level) timers (single core).
It also allows the timer to drive the sound speaker (a 500-microsecond timer will generate a 1000 Hz square wave). Any timing jitter will produce an audible frequency wobble. This is only practical when RTX is configured to use one real time core.