RtPerfMonitorEX

Description

This utility monitors RTSS CPU usage. It also measures RTX HAL clock tick intervals and latencies from HAL ISR to SRTM IST. For backward compatibility, it includes measuring SRTM latencies. It optionally uses the timer to drive the sound speaker (a 500 us timer will generate a 1 KHz square wave). Any significant timing jitter will produce a frequency wobble easily picked up by the human ear.

Source Files

Monitor project source file:

Building the Sample

Build the sample as is.

Running the Sample

Run the sample as is.

APIs Referenced

RTAPI

Win32 APIs

RtCloseHandle

RtCreateMutex

RtCreateTimer

RtDeleteTimer

RtFreeContiguousMemory

RtGetClockResolution

RtGetClockTime

RtGetClockTimerPeriod

RtReadPortUchar

RtSetTimerRelative

RtWritePortUchar

GetLastError