WRENCH
1.11
Cyberinfrastructure Simulation Workbench
|
Overview | Installation | Getting Started | WRENCH 101 | WRENCH 102 |
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... | |
A service that measures and records energy consumption on a set of hosts at regular time intervals.
wrench::EnergyMeterService::EnergyMeterService | ( | std::string | hostname, |
const std::vector< std::string > & | hostnames, | ||
double | measurement_period | ||
) |
Constructor.
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 |
wrench::EnergyMeterService::EnergyMeterService | ( | std::string | hostname, |
const std::map< std::string, double > & | measurement_periods | ||
) |
Constructor.
hostname | the hostname on which the service should start |
measurement_periods | the measurement period for each metered host |