|
Description
The LTP demo program measures the latency between two adjacent clock reads, which is expected to be on the order of 2-5 microseconds. Higher latencies indicate non-CPU related blocking, such as DMA.
Source Files
Ltp project source file:
LTP.c
counts the number of instances in a given period of time
that the time between to reads exceeds a threshold value. Remarks
The LTP.rtss
executable file can be run using
rtssrun ltp [-t <msecs> [-s <secs>]
Where:
-s <secs>: Run the test for <secs> seconds ; default is 10
-t <msecs>: Watch for latencies greater than <msecs> microseconds. The default is 20
-h: display this message
APIs Referenced
RTAPI |