wrench::SimulationTimestampPair

class wrench::SimulationTimestampPair : public wrench::SimulationTimestampType

A base class for simulation timestamps.

Subclassed by wrench::SimulationTimestampDiskRead, wrench::SimulationTimestampDiskWrite, wrench::SimulationTimestampFileCopy, wrench::SimulationTimestampFileRead, wrench::SimulationTimestampFileWrite, wrench::SimulationTimestampTask

Public Functions

SimulationTimestampPair()

Constructor.

SimulationTimestampPair(double date, SimulationTimestampPair *endpoint)

Constructor.

Parameters
  • date – the date

  • endpoint – an corresponding “end” timestamp or “start” timestamp

virtual SimulationTimestampPair *getEndpoint()

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