PR_TPLDLATENCY
code: 246
# get
<module-index>/<port-index> PR_TPLDLATENCY [<test_payload_index>] ?
Description
Obtains statistics concerning the latency experienced by the packets with a
particular test payload id received on a port. The values are adjusted by the
port-level P_LATENCYOFFSET
value. A special value of -1 is returned if latency
numbers are not applicable. Latency is only meaningful when the clocks of the
transmitter and receiver are synchronized. This requires the two ports to be on
the same test module, and it requires knowledge of the global test environment
to ensure that packets are in fact routed between these ports.
Actions
get
Parameters
min_val
: long integer, minimum latency (nanoseconds)avg_val
: long integer, maximum latency (nanoseconds)max_val
: long integer, average latency (nanoseconds)avg_last_sec
: long integer, average latency over last 1-second period (nanoseconds)min_last_sec
: long integer, minimum latency over last 1-second period (nanoseconds)max_last_sec
: long integer, maximum latency over last 1-second period (nanoseconds)
Example
# get
input: 0/1 PR_TPLDLATENCY [0] ?
output: 0/1 PR_TPLDLATENCY [0] 8 9 10 9 8 10