Ltp

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:

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

RtCancelTimer

RtCreateTimer

RtGetClockTime

RtSetTimerRelative

 

IntervalZero.com | Support | Give Feedback