11 #ifndef WRENCH_ENERGYMETERSERVICE_H
12 #define WRENCH_ENERGYMETERSERVICE_H
14 #include "wrench/services/Service.h"
42 bool processNextMessage(
double timeout);
44 std::map<std::string, double> measurement_periods;
45 std::map<std::string, double> time_to_next_measurement;
52 #endif //WRENCH_ENERGYMETERSERVICE_H
EnergyMeterService(std::string hostname, const std::vector< std::string > &hostnames, double period)
Constructor.
Definition: EnergyMeterService.cpp:54
void kill()
Kill the energy meter (brutally terminate the daemon)
Definition: EnergyMeterService.cpp:77
void stop() override
Stop the energy meter.
Definition: EnergyMeterService.cpp:87
Definition: Action.cpp:28
std::string hostname
The name of the host on which the daemon is running.
Definition: S4U_Daemon.h:60
A service that can be added to the simulation and that can be used by a WMS when executing a workflow...
Definition: Service.h:31
A service that measures and records energy consumption on a set of hosts at regular time intervals.
Definition: EnergyMeterService.h:23