wrench::SimulationTimestampDiskRead

class SimulationTimestampDiskRead : public wrench::SimulationTimestampPair

A base class for simulation timestamps regarding disk reads.

Subclassed by wrench::SimulationTimestampDiskReadCompletion, wrench::SimulationTimestampDiskReadFailure, wrench::SimulationTimestampDiskReadStart

Public Functions

double getBytes() const

retrieves the amount of bytes being read

Returns

number of bytes as double

int getCounter() const

To get counter of disk operation.

Returns

int of counter

virtual SimulationTimestampDiskRead *getEndpoint() override

Retrieve the matching endpoint, if any.

retrieves the corresponding SimulationTimestampDiskRead object

Returns

a pointer to the start or end SimulationTimestampDiskRead object

std::string getHostname()

retrieves the hostname where read occurs

Returns

string of hostname

std::string getMount()

retrieves mount point of read

Returns

string of mount point