Class to compute a weighted average byte rate over a specified time interval.
This class continuously tracks data transmission and computes the byte rate
based on a weighted average, considering both the duration and the number of
bytes in each sample. It allows for real-time monitoring of bandwidth usage
and provides mechanisms to dynamically adjust the measurement interval.
Features:
Computes the byte rate using a weighted average approach.
Allows setting a custom interval for tracking.
Supports dynamic clipping to manually shrink the observation window.
Clips the byte rate tracking by marking the last sample as clipped.
If a previous clip exists, removes the clipped sample and all preceding samples.
Allows to shrink the interval manually between two positions.
Class to compute a weighted average byte rate over a specified time interval.
This class continuously tracks data transmission and computes the byte rate based on a weighted average, considering both the duration and the number of bytes in each sample. It allows for real-time monitoring of bandwidth usage and provides mechanisms to dynamically adjust the measurement interval.
Features: