WRENCH  1.11
Cyberinfrastructure Simulation Workbench
Overview Installation Getting Started WRENCH 101 WRENCH 102
Public Member Functions | List of all members
wrench::BandwidthMeterService Class Reference

A service that measures and records bandwidth usage on a set of links at regular time intervals. More...

#include <BandwidthMeterService.h>

Inheritance diagram for wrench::BandwidthMeterService:
wrench::Service

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
hostnamethe name of the host on which this service is running
linknamesthe list of metered links, as link ids
measurement_periodthe measurement period

◆ BandwidthMeterService() [2/2]

wrench::BandwidthMeterService::BandwidthMeterService ( std::string  hostname,
const std::map< std::string, double > &  measurement_periods 
)

Constructor.

Parameters
hostnamethe hostname on which the service should start
measurement_periodsthe measurement period for each monitored link

The documentation for this class was generated from the following files: