11 #ifndef WRENCH_ENERGYMETERSERVICE_H
12 #define WRENCH_ENERGYMETERSERVICE_H
14 #include "wrench/services/Service.h"
27 EnergyMeterService(std::string hostname,
const std::vector<std::string> &hostnames,
double period);
28 EnergyMeterService(std::string hostname,
const std::map<std::string, double> &measurement_periods);
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