wrench::EnergyMeterService
-
class EnergyMeterService : public wrench::Service
A service that measures and records energy consumption on a set of hosts at regular time intervals.
Public Functions
-
EnergyMeterService(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 metered host
-
EnergyMeterService(std::string hostname, const std::vector<std::string> &hostnames, double period)
Constructor.
- Parameters:
hostname – the name of the host on which this service is running
hostnames – the list of metered hosts, as hostnames
measurement_period – the measurement period
-
EnergyMeterService(std::string hostname, const std::map<std::string, double> &measurement_periods)