wrench::SimulationTimestampDiskWrite
-
class SimulationTimestampDiskWrite : public wrench::SimulationTimestampPair
A base class for simulation timestamps regarding disk writes.
Subclassed by wrench::SimulationTimestampDiskWriteCompletion, wrench::SimulationTimestampDiskWriteFailure, wrench::SimulationTimestampDiskWriteStart
Public Functions
-
sg_size_t getBytes() const
retrieves the amount of bytes being written
- Returns:
number of bytes as double
-
int getCounter() const
retrieves the counter for this disk operation
- Returns:
int of counter
-
virtual SimulationTimestampDiskWrite *getEndpoint() override
Retrieve the matching endpoint, if any.
retrieves the corresponding SimulationTimestampDiskWrite object
- Returns:
a pointer to the start or end SimulationTimestampDiskWrite object
-
std::string getHostname()
retrieves the hostname where write occurs
- Returns:
string of hostname
-
std::string getMount()
retrieves mount point of write
- Returns:
string of mount point
-
sg_size_t getBytes() const