wrench::SimulationTimestampEnergyConsumption

class SimulationTimestampEnergyConsumption : public wrench::SimulationTimestampType

A simulation timestamp class for energy consumption.

Public Functions

double getConsumption() const

Get the energy consumption in joules.

Returns:

energy consumed by this host in joules

std::string getHostname()

Get the hostname associated with this timestamp.

Returns:

the hostname associated with this timestamp