A simulation timestamp class for energy consumption. More...
#include <SimulationTimestampTypes.h>
Public Member Functions | |
double | getConsumption () |
Get the energy consumption in joules. More... | |
std::string | getHostname () |
Get the hostname associated with this timestamp. More... | |
Public Member Functions inherited from wrench::SimulationTimestampType | |
SimulationTimestampType () | |
double | getDate () |
Retrieve the date recorded for this timestamp. More... | |
Detailed Description
A simulation timestamp class for energy consumption.
Member Function Documentation
◆ getConsumption()
double wrench::SimulationTimestampEnergyConsumption::getConsumption | ( | ) |
Get the energy consumption in joules.
- Returns
- energy consumed by this host in joules
◆ getHostname()
std::string wrench::SimulationTimestampEnergyConsumption::getHostname | ( | ) |
Get the hostname associated with this timestamp.
- Returns
- the hostname associated with this timestamp
The documentation for this class was generated from the following files:
- SimulationTimestampTypes.h
- SimulationTimestampTypes.cpp