byteblowerll.byteblower.LatencyDistributionMobile

class byteblowerll.byteblower.LatencyDistributionMobile(*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 WirelessEndpoint, using WirelessEndpoint.RxLatencyDistributionAdd()

This packet processor processes frames received on the ByteBlower interface where its parent WirelessEndpoint 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.MeetingPointAdd('byteblower-1.lab.byteblower.com')
wireless_endpoint = server.DeviceGet('aa-89bb54-c04')
trigger = wireless_endpoint.RxLatencyDistributionAdd()
# Do the rest of the test
# ...
result = trigger.ResultGet()
# parse the results
# ...
wireless_endpoint.RxLatencyDistributionRemove(trigger)
__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
DurationGet() Returns the duration for which the trigger will be active.
DurationSet(inDuration) Sets the duration for which the trigger will be active.
FilterGet() Returns the current installed BPF filter string.
FilterSet(arg2)
FilterSourceAddressGet() Returns the source address field of the packet filter.
FilterSourceAddressSet(inAddress) Sets the source address field of the packet filter.
FilterUdpDestinationPortGet() Returns the destination port field of the packet filter.
FilterUdpDestinationPortSet(inPort) Sets the destination port field of the packet filter.
FilterUdpSourcePortGet() Returns the source port field of the packet filter.
FilterUdpSourcePortSet(inPort) Sets the source port field of the packet filter.
FrameTagDefaultSet()
FrameTagGet()
FrameTagSet(fromFrameTagTx)
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()
ResultHistoryGet()
__init__(*args, **kwargs) Initialize self.

Attributes

thisown The membership flag