wrench::SimulationTimestampEnergyConsumption Class Reference

A simulation timestamp class for energy consumption. More...

#include <SimulationTimestampTypes.h>

Inheritance diagram for wrench::SimulationTimestampEnergyConsumption:
wrench::SimulationTimestampType

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 ()
 
More...
 
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: