#include <BandwidthFilter.h>


Unlike the AdolfoFilter, the BandwidthFilter does not assume fixed-size packets. Instead of the GenericFilter::update(double), it provides an update(int), and leaves the other to do awkward things.
Definition at line 66 of file BandwidthFilter.h.
Public Member Functions | |
| void | update (int size) |
| adds size bytes at the current time to the estimator | |
| void | clear () |
| resets the filter to 0 | |
| double | getValue () |
| computes and returns the bandwidth value in bits per second | |
Static Public Attributes | |
| static const uint64_t | BANDWIDTH_WINDOW = 2500000 |
| the window to estimate the bandwidth over in microseconds | |
1.5.5