All Classes Namespaces Files Functions Pages
Rx.Latency.Basic.ResultData Class Reference

Receive-side latency result set. More...

Methods

 Description.Get
 Returns a textual description of the object.
 
 Interval.Duration.Get
 Gets the configured duration of this results snapshot [NS]. More...
 
 Jitter.Get
 Gets the jitter [ns] measured in this snapshot. More...
 
 Latency.Average.Get
 Gets the average latency [ns] measured in this snapshot. More...
 
 Latency.Maximum.Get
 Gets the maximum latency [ns] measured in this snapshot. More...
 
 Latency.Minimum.Get
 Gets the minimum latency [ns] measured in this snapshot. More...
 
 PacketCount.Get
 Gets the received packet count. More...
 
 PacketCount.Invalid.Get
 Gets the received packet count of invalid packets. More...
 
 PacketCount.Valid.Get
 Gets the received packet count of valid packets. More...
 
 Parent.Get
 Returns the parent object.
 
 Timestamp.First.Get
 Gets the timestamp [NS] of the first packet in this snapshot. More...
 
 Timestamp.Get
 Gets the snapshot timestamp [NS]. More...
 
 Timestamp.Last.Get
 Gets the current timestamp [NS] of the last packet in this snapshot. More...
 

Class overview

Receive-side latency result set.

The result set contains the latency information of since the object is created or refreshed.

Note
See What's new in API v2 for more information.

A basic trigger result data snapshot object can be created via a Rx.Latency.Basic.ResultHistory, using Rx.Latency.Basic::Result.History.Get

Note
The information is not updated until Rx.Latency.Basic.ResultHistory::Refresh is called.
Example

Receive all frames on "trunk-1-2" of some server, matching UDP source or destination port 67.

1 set port [ $server Port.Create "trunk-1-2" ]
2  set latency [ $port Rx.Latency.Basic.Add ]
3  $latency Filter.Set "udp port 67"
4  set resultHistory [ $latency Result.History.Get ]
5  foreach result [ $resultHistory Result.Cumulative.Get ] {
6  $result PacketCount.Get
7  }

Definition at line 18770 of file api.tcl.

Method documentation

Rx.Latency.Basic.ResultData::Interval.Duration.Get

Gets the configured duration of this results snapshot [NS].

Since
2.3.0
Example

This example gets interval duration of this result snapshot [NS]

1 $latencyResult Interval.Duration.Get

Returns:

1000000000 

Definition at line 18787 of file api.tcl.

Rx.Latency.Basic.ResultData::Jitter.Get

Gets the jitter [ns] measured in this snapshot.

Example

This example gets the jitter measured in this snapshot

1 $latencyResult Jitter.Get

Returns:

100 

Definition at line 18797 of file api.tcl.

Rx.Latency.Basic.ResultData::Latency.Average.Get

Gets the average latency [ns] measured in this snapshot.

Example

This example gets the average latency measured in this snapshot

1 $latencyResult Latency.Average.Get

Returns:

100 

Definition at line 18807 of file api.tcl.

Rx.Latency.Basic.ResultData::Latency.Maximum.Get

Gets the maximum latency [ns] measured in this snapshot.

Example

This example gets the maximum latency measured in this snapshot

1 $latencyResult Latency.Maximum.Get

Returns:

100 

Definition at line 18817 of file api.tcl.

Rx.Latency.Basic.ResultData::Latency.Minimum.Get

Gets the minimum latency [ns] measured in this snapshot.

Example

This example gets the minimum latency measured in this snapshot

1 $latencyResult Latency.Minimum.Get

Returns:

100 

Definition at line 18827 of file api.tcl.

Rx.Latency.Basic.ResultData::PacketCount.Get

Gets the received packet count.

Example

This example gets the received packet counter

1 $latencyResult PacketCount.Get

Returns:

100 

Definition at line 18837 of file api.tcl.

Rx.Latency.Basic.ResultData::PacketCount.Invalid.Get

Gets the received packet count of invalid packets.

Example

This example gets the received invalid packet counter

1 $latencyResult PacketCount.Invalid.Get

Returns:

10 

Definition at line 18847 of file api.tcl.

Rx.Latency.Basic.ResultData::PacketCount.Valid.Get

Gets the received packet count of valid packets.

Example

This example gets the received valid packet counter

1 $latencyResult PacketCount.Valid.Get

Returns:

90 

Definition at line 18857 of file api.tcl.

Rx.Latency.Basic.ResultData::Timestamp.First.Get

Gets the timestamp [NS] of the first packet in this snapshot.

Exceptions
CounterUnavailableWhen no frames are received, this counter is unavailable
Example

This example gets the timestamp [NS] of the first received packet in this snapshot

1 $latencyResult Timestamp.First.Get

Returns:

1413475037767331530 

Definition at line 18874 of file api.tcl.

Rx.Latency.Basic.ResultData::Timestamp.Get

Gets the snapshot timestamp [NS].

Example

This example gets the snapshot timestamp [NS].

1 $latencyResult Timestamp.Get

Returns:

1413475070000000000 

Definition at line 18884 of file api.tcl.

Rx.Latency.Basic.ResultData::Timestamp.Last.Get

Gets the current timestamp [NS] of the last packet in this snapshot.

Exceptions
CounterUnavailableWhen no frames are received, this counter is unavailable
Example

This example gets the timestamp [NS] of the last received packet in this snapshot

1 $latencyResult Timestamp.Last.Get

Returns:

1413475071947640170 

Definition at line 18896 of file api.tcl.