A base class for simulation timestamps. More...
#include <SimulationTimestampTypes.h>
Public Member Functions | |
SimulationTimestampPair () | |
Constructor. | |
SimulationTimestampPair (SimulationTimestampPair *endpoint) | |
Constructor. More... | |
virtual SimulationTimestampPair * | getEndpoint () |
Retrieves the corresponding start/end SimulationTimestampType associated with this timestamp. More... | |
Public Member Functions inherited from wrench::SimulationTimestampType | |
SimulationTimestampType () | |
double | getDate () |
Retrieve the date recorded for this timestamp. More... | |
Protected Attributes | |
SimulationTimestampPair * | endpoint = nullptr |
An optional associated "endpoint" simulation timestamp. | |
Detailed Description
A base class for simulation timestamps.
Constructor & Destructor Documentation
◆ SimulationTimestampPair()
wrench::SimulationTimestampPair::SimulationTimestampPair | ( | SimulationTimestampPair * | endpoint | ) |
Constructor.
- Parameters
-
endpoint an corresponding "end" timestamp or "start" timestamp
Member Function Documentation
◆ getEndpoint()
|
virtual |
Retrieves the corresponding start/end SimulationTimestampType associated with this timestamp.
- Returns
- A pointer to a start SimulationTimestampType if this is a failure/completion timestamp or vise versa
Reimplemented in wrench::SimulationTimestampDiskWrite, wrench::SimulationTimestampDiskRead, wrench::SimulationTimestampFileCopy, wrench::SimulationTimestampFileWrite, wrench::SimulationTimestampFileRead, and wrench::SimulationTimestampTask.
The documentation for this class was generated from the following files:
- SimulationTimestampTypes.h
- SimulationTimestampTypes.cpp