System Response Time Measurement (SRTM)
Description
The System Response Time Measurement (SRTM) utility measures timer delivery latencies using the RTX64 synchronized clock and timers. It then prints the results.
Source Files
srtm.c
gathers thread-level timer latencies (either as a Win32 or RTSS process) and prints out a summary and an optional histogram of results. The timer can also generate a sound on the speaker. This is a useful tool for measuring application-level response time latencies while the system is stressed by other activity, such as disk, network, and GUI IO, and/or heavy processing. Different hardware platforms can also be compared.
Building the Sample
Build the sample as is. See Usage for additional options.
Running the Sample
Run the sample as is. See Usage for additional options.
Usage
srtm | srtm [/?] [/h] [/s] [/1] [/f] seconds_to_sample
Options
/h = Display histogram (in addition to summary)
/s = Turn on sound (square wave driven by timer)
/1 = Use a 10 MS timer period (default is 1 MS)
/f = Use fastest available timer (1MS or better)
/n num = Multiple SRTM instances aware (num = the total number of instances)
/? = help on usage
If no parameters given, default is srtm /h /s /f 15
Remarks
The SRTM program can be built as a Win32 .exe or real-time .rtss executable file.
Also see Using SRTM.
APIs Referenced
RTAPI