Port counter result history. More...
Methods | |
Clear | |
Removes the locally stored history snapshots. More... | |
Cumulative.Get | |
Returns a list of available cumulative counters. More... | |
Cumulative.GetByIndex | |
Returns a single item of the cumulative list. More... | |
Cumulative.GetByTime | |
Returns a single item of the cumulative list using a timestamp nanoseconds. More... | |
Cumulative.Latest.Get | |
Returns latest closed item of the cumulative list. More... | |
Cumulative.Length.Get | |
Returns the size of the cumulative list. More... | |
Description.Get | |
Returns a textual description of the object. | |
Interval.Get | |
Returns a list of available interval counters. More... | |
Interval.GetByIndex | |
Returns a single item of the interval list. More... | |
Interval.GetByTime | |
Returns a single item of the interval list using a timestamp in nanoseconds. More... | |
Interval.Latest.Get | |
Returns the latest closed item of the interval list. More... | |
Interval.Length.Get | |
Returns the size of the interval list. More... | |
Parent.Get | |
Returns the parent object. | |
Refresh.Timestamp.Get | |
Returns the timestamp on the server when the current history is requested. More... | |
Refresh | |
Refreshes the counters. This will retrieve the latest interval and accumulated counters available. More... | |
Sampling.BufferLength.Get | |
Number of samples to keep in the buffer. More... | |
Sampling.BufferLength.Set | |
Sets the number of samples to keep in the buffer. More... | |
Sampling.Interval.Duration.Get | |
Duration of one sampling interval in nanoseconds. More... | |
Sampling.Interval.Duration.Set | |
Sets the duration of one sampling interval. More... | |
Port counter result history.
The port counter history is - as always - available in two flavors: the cumulative and the interval results
A result history object can be created via a ByteBlowerPort, using ByteBlowerPort::Result.History.Get
Receive all frames on "trunk-1-2" of some server, matching UDP source or destination port 67.
ByteBlowerPort.ResultHistory::Clear |
Removes the locally stored history snapshots.
This can be used to save memory in long tests where the results are requested at regular intervals.
WARNING: Any interval or cumulative result object returned from this history object before calling Clear will be destroyed and thus become unusable.
ByteBlowerPort.ResultHistory::Cumulative.Get |
Returns a list of available cumulative counters.
This example gets the available cumulative counters
Returns:
[ <ByteBlowerPort.ResultData object> ... ]
ByteBlowerPort.ResultHistory::Cumulative.GetByIndex |
Returns a single item of the cumulative list.
This example gets the available cumulative counters
Returns:
<ByteBlowerPort.ResultData object>
ByteBlowerPort.ResultHistory::Cumulative.GetByTime |
Returns a single item of the cumulative list using a timestamp nanoseconds.
This example gets the available cumulative counters
Returns:
<ByteBlowerPort.ResultData object>
ByteBlowerPort.ResultHistory::Cumulative.Latest.Get |
Returns latest closed item of the cumulative list.
This example gets the available cumulative counters
Returns:
<ByteBlowerPort.ResultData object>
ByteBlowerPort.ResultHistory::Cumulative.Length.Get |
ByteBlowerPort.ResultHistory::Interval.Get |
Returns a list of available interval counters.
This example gets the available interval counters
Returns:
[ <ByteBlowerPort.ResultData object> ... ]
ByteBlowerPort.ResultHistory::Interval.GetByIndex |
Returns a single item of the interval list.
This example gets the available interval counters
Returns:
<ByteBlowerPort.ResultData object>
ByteBlowerPort.ResultHistory::Interval.GetByTime |
Returns a single item of the interval list using a timestamp in nanoseconds.
This example gets the available interval counters
Returns:
<ByteBlowerPort.ResultData object>
ByteBlowerPort.ResultHistory::Interval.Latest.Get |
Returns the latest closed item of the interval list.
This example gets the available interval counters
Returns:
<ByteBlowerPort.ResultData object>
ByteBlowerPort.ResultHistory::Interval.Length.Get |
ByteBlowerPort.ResultHistory::Refresh |
ByteBlowerPort.ResultHistory::Refresh.Timestamp.Get |
ByteBlowerPort.ResultHistory::Sampling.BufferLength.Get |
Number of samples to keep in the buffer.
The ByteBlower server has a buffer to keep some samples before they are transferred to the client. This method gets the maximum number of samples the server can hold. The last sample will always be the running sample. When a sample is closed, the oldest sample in the buffer will be removed.
Returns:
6
ByteBlowerPort.ResultHistory::Sampling.BufferLength.Set |
Sets the number of samples to keep in the buffer.
The ByteBlower server has a buffer to keep some samples before they are transferred to the client. This method sets the maximum number of samples the server can hold. The last sample will always be the running sample. When a sample is closed, the oldest sample in the buffer will be removed.
ByteBlowerPort.ResultHistory::Sampling.Interval.Duration.Get |
ByteBlowerPort.ResultHistory::Sampling.Interval.Duration.Set |
Sets the duration of one sampling interval.