wrench::SimulationTimestampPstateSet Class Reference
A simulation timestamp class for changes in a host's pstate. More...
#include <SimulationTimestampTypes.h>
Inheritance diagram for wrench::SimulationTimestampPstateSet:
Public Member Functions | |
SimulationTimestampPstateSet (std::string hostname, int pstate) | |
Constructor. More... | |
std::string | getHostname () |
Get the hostname associated with this timestamp. More... | |
int | getPstate () |
Get the pstate associated with this timestamp. More... | |
Public Member Functions inherited from wrench::SimulationTimestampType | |
double | getDate () |
Retrieve the date recorded for this timestamp. More... | |
Detailed Description
A simulation timestamp class for changes in a host's pstate.
Constructor & Destructor Documentation
◆ SimulationTimestampPstateSet()
wrench::SimulationTimestampPstateSet::SimulationTimestampPstateSet | ( | std::string | hostname, |
int | pstate | ||
) |
Constructor.
- Parameters
-
hostname the host on which a pstate is being set pstate the pstate that is being set on this host
Member Function Documentation
◆ getHostname()
std::string wrench::SimulationTimestampPstateSet::getHostname | ( | ) |
Get the hostname associated with this timestamp.
- Returns
- the hostname associated with this timestamp
◆ getPstate()
int wrench::SimulationTimestampPstateSet::getPstate | ( | ) |
Get the pstate associated with this timestamp.
- Returns
- the pstate associated with this timestamp
The documentation for this class was generated from the following files:
- /home/wrench/wrench/include/wrench/simulation/SimulationTimestampTypes.h
- /home/wrench/wrench/src/wrench/simulation/SimulationTimestampTypes.cpp