10 #ifndef WRENCH_BANDWIDTHMETERSERVICE_H
11 #define WRENCH_BANDWIDTHMETERSERVICE_H
13 #include "wrench/services/Service.h"
39 bool processNextMessage(
double timeout);
41 std::map<std::string, double> measurement_periods;
42 std::map<std::string, double> time_to_next_measurement;
46 #endif //WRENCH_BANDWIDTHMETERSERVICE_H
void kill()
Kill the bandwidth meter (brutally terminate the daemon)
Definition: BandwidthMeterService.cpp:75
A service that measures and records bandwidth usage on a set of links at regular time intervals.
Definition: BandwidthMeterService.h:22
BandwidthMeterService(std::string hostname, const std::vector< std::string > &linknames, double period)
Constructor.
Definition: BandwidthMeterService.cpp:53
void stop() override
Stop the bandwidth meter.
Definition: BandwidthMeterService.cpp:85
std::string hostname
The name of the host on which the daemon is running.
Definition: S4U_Daemon.h:51
A service that can be added to the simulation and that can be used by a WMS when executing a workflow...
Definition: Service.h:26