A service that measures and records energy consumption on a set of hosts at regular time intervals. More...
#include <EnergyMeterService.h>
Public Member Functions | |
EnergyMeterService (std::string hostname, const std::map< std::string, double > &measurement_periods) | |
Constructor. More... | |
EnergyMeterService (std::string hostname, const std::vector< std::string > &hostnames, double period) | |
Constructor. More... | |
Detailed Description
A service that measures and records energy consumption on a set of hosts at regular time intervals.
Constructor & Destructor Documentation
◆ EnergyMeterService() [1/2]
wrench::EnergyMeterService::EnergyMeterService | ( | std::string | hostname, |
const std::vector< std::string > & | hostnames, | ||
double | measurement_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() [2/2]
wrench::EnergyMeterService::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
The documentation for this class was generated from the following files:
- EnergyMeterService.h
- EnergyMeterService.cpp