System Response Time Measurement (SRTM)

Description

The System Response Time Measurement (SRTM) utility measures timer delivery latencies using the RTX synchronized clock and timers. It then prints the results.

Source Files

Build the Sample

  1. Open the solution in the desired Visual Studio version you wish to build.
  2. Once Visual Studio is open, build the sample in any desired configuration that is available

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)

/? = help on usage

If no parameters given, default is srtm /h /s /f 15\n

Remarks

The SRTM program can be built as a Win32 .exe or real-time .rtss executable file.

Also see Using SRTM.

APIs Referenced

RTAPI

RtCreateTimer

RtDeleteTimer

RtEnablePortIo

RtGetClockResolution

RtGetClockTimerPeriod

RtSetTimerRelative

 

IntervalZero.com | Support | Give Feedback