A service that measures and records bandwidth usage on a set of links at regular time intervals. More...
#include <BandwidthMeterService.h>
Public Member Functions | |
BandwidthMeterService (std::string hostname, const std::map< std::string, double > &measurement_periods) | |
Constructor. More... | |
BandwidthMeterService (std::string hostname, const std::vector< std::string > &linknames, double period) | |
Constructor. More... | |
Detailed Description
A service that measures and records bandwidth usage on a set of links at regular time intervals.
Constructor & Destructor Documentation
◆ BandwidthMeterService() [1/2]
wrench::BandwidthMeterService::BandwidthMeterService | ( | std::string | hostname, |
const std::vector< std::string > & | linknames, | ||
double | measurement_period | ||
) |
Constructor.
- Parameters
-
hostname the name of the host on which this service is running linknames the list of metered links, as link ids measurement_period the measurement period
◆ BandwidthMeterService() [2/2]
wrench::BandwidthMeterService::BandwidthMeterService | ( | std::string | hostname, |
const std::map< std::string, double > & | measurement_periods | ||
) |
Constructor.
- Parameters
-
hostname the hostname on which the service should start measurement_periods the measurement period for each monitored link
The documentation for this class was generated from the following files:
- BandwidthMeterService.h
- BandwidthMeterService.cpp