byteblowerll.byteblower.LatencyBasic

class byteblowerll.byteblower.LatencyBasic(*args, **kwargs)

Receive-side packet processor which calculates latency on the incoming frames, matching a filter.

The basic latency processor extends the basic trigger. It provides additional information like latency and jitter. See ResultGet() for more information.

This latency calculation is always active and starts processing frames as soon as it is created. Processing continues until the packet processor is destructed.

The transmit time stamp of a packet is obtained from a time tag in the frame. This tag is configured on the FrameTagTx, which can be obtained via Frame.FrameTagTimeGet().

Note

The initial (empty) filter string accepts all incoming frames. See FilterSet() for filtering information.

A basic latency object can be created via a ByteBlowerPort, using ByteBlowerPort.RxLatencyBasicAdd()

This packet processor processes frames received on the ByteBlower interface where its parent ByteBlowerPort is located.

Example

Receive all frames on “trunk-1-45” of some server, matching UDP source or destination port 49523.

 latencyTrigger = port.RxLatencyBasicAdd()
 latencyTrigger.FilterSet('ip dst 1.1.1.2 and udp port 4096')
__init__(*args, **kwargs)

Initialize self. See help(type(self)) for accurate signature.

Methods

DescriptionGet(*args) Gets a textual description for the current object
FilterGet() Returns the current installed BPF filter string.
FilterSet(arg2) Sets a BPF filter on a RX object.
FrameTagDefaultSet()
FrameTagGet()
FrameTagSet(fromFrameTagTx)
ParentGet() Returns the parent object.
Refresh() Retrieves the latest data from the server for this object.
ResultClear() Resets the counter values to zero and empties the ResultHistory.
ResultGet() Returns the current result counters.
ResultHistoryGet() Returns the current trigger history counters.
__init__(*args, **kwargs) Initialize self.

Attributes

thisown The membership flag