WRENCH  1.11
Cyberinfrastructure Simulation Workbench
Overview Installation Getting Started WRENCH 101 WRENCH 102
Public Member Functions | List of all members
wrench::EnergyMeterService Class Reference

A service that measures and records energy consumption on a set of hosts at regular time intervals. More...

#include <EnergyMeterService.h>

Inheritance diagram for wrench::EnergyMeterService:
wrench::Service

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
hostnamethe name of the host on which this service is running
hostnamesthe list of metered hosts, as hostnames
measurement_periodthe measurement period

◆ EnergyMeterService() [2/2]

wrench::EnergyMeterService::EnergyMeterService ( std::string  hostname,
const std::map< std::string, double > &  measurement_periods 
)

Constructor.

Parameters
hostnamethe hostname on which the service should start
measurement_periodsthe measurement period for each metered host

The documentation for this class was generated from the following files: