byteblowerll.byteblower.LatencyDistribution¶
-
class
byteblowerll.byteblower.LatencyDistribution(*args, **kwargs)¶ Receive-side packet processor which calculates distribution of latency on the incoming frames, matching a filter.
This latency distribution 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 FrameTag.Tx, which can be obtained via :meth:.Frame.FrameTagTimeGet`.
..note:: The initial (empty) filter string accepts all incoming frames. See
FilterSet()for filtering information.A latency distribution object can be created via a
ByteBlowerPort, usingByteBlowerPort.RxLatencyDistributionAdd()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.
from byteblowerll.byteblower import ByteBlower server = ByteBlower.ServerAdd('byteblower-1.lab.byteblower.com') # TODO
-
__init__(*args, **kwargs)¶ Initialize self. See help(type(self)) for accurate signature.
Methods
BucketCountGet()BucketWidthGet()DescriptionGet(*args)Gets a textual description for the current object FilterGet()Returns the current installed BPF filter string. FilterSet(inFilter)Sets a BPF filter on a RX object. FrameTagDefaultSet()FrameTagGet()FrameTagSet(fromFrameTagTx)Configure the FrameTagRx to match the given FrameTagTx. ParentGet()Returns the parent object. RangeGet()Returns the current configured range for the latency distribution. RangeMaximumGet()RangeMinimumGet()RangeSet(rangeStartNs, rangeEndNs)Configures the range for which the Latency Distribution will measure the latency and create a distribution. Refresh()Retrieves the latest data from the server for this object. ResultClear()Resets the counter values to zero. ResultGet()Returns the current result counters. ResultHistoryGet()Returns the current result counters. __init__(*args, **kwargs)Initialize self. Attributes
thisownThe membership flag -