|
NOTE: This sample uses MFC and is only supported in a Multi-Byte configuration. To build this sample in Visual Studio 2013, you must first install an additional library from Microsoft, available at: https://www.microsoft.com/en-us/download/confirmation.aspx?id=40770
Description
The RTX Timer Latency Display provides a histogram of timer interrupt latencies (to the Interrupt Service Thread) for an RTSS application. The Y axis is the number of events (log scale). The X axis is the latency in microseconds. The red-colored portion of the graph's bars reflects the last second's activity.
Source Files
NtRtss.rtss project source file:
CeSTRM.c
is the rtss portion of the System Response Time Monitor (SRTM). It
sets up a timer and then maintains a running histogram in a shared memory area. The client
program can then read the shared memory to monitor the results. RtssDisplay.exe project source files:
StdAfx.cpp
ensures that the standard includes and pre-compiled type
information are included. RtssDispaly.cpp
defines the class behaviors for the application. RtssDisplayDlg.cpp
contains the code necessary for the graphics display. Remarks
To run, start one instance of the NtRTSS.rtss timer interrupt handler and then start the RTSSDisplay.exe GUI.
NOTE: The Latency Display application allows you to view much of what is used in the RtxDemo application, available from the main RTX menu.
APIs Referenced
RTAPI |