A simulation timestamp class for disk write start times. More...
#include <SimulationTimestampTypes.h>
Public Member Functions | |
SimulationTimestampDiskWriteStart (std::string hostname, std::string mount, double bytes, int counter) | |
Constructor. More... | |
Public Member Functions inherited from wrench::SimulationTimestampDiskWrite | |
double | getBytes () |
retrieves the amount of bytes being written More... | |
int | getCounter () |
retrieves the counter for this disk operation More... | |
SimulationTimestampDiskWrite * | getEndpoint () override |
Retrieve the matching endpoint, if any. More... | |
std::string | getHostname () |
retrieves the hostname where write occurs More... | |
std::string | getMount () |
retrieves mount point of write More... | |
Public Member Functions inherited from wrench::SimulationTimestampPair | |
SimulationTimestampPair () | |
Constructor. | |
SimulationTimestampPair (SimulationTimestampPair *endpoint) | |
Constructor. More... | |
Public Member Functions inherited from wrench::SimulationTimestampType | |
SimulationTimestampType () | |
double | getDate () |
Retrieve the date recorded for this timestamp. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from wrench::SimulationTimestampDiskWrite | |
SimulationTimestampDiskWrite (std::string hostname, std::string mount, double bytes, int counter) | |
Constructor. More... | |
void | setEndpoints () |
Sets the endpoint of the calling object (SimulationTimestampDiskWriteFailure, SimulationTimestampDiskWriteTerminated, SimulationTimestampDiskWriteStart) with a SimulationTimestampDiskWriteStart object. | |
Protected Attributes inherited from wrench::SimulationTimestampDiskWrite | |
double | bytes |
amount of bytes being written | |
int | counter |
counter to differentiate writes | |
std::string | hostname |
hostname of disk being written to | |
std::string | mount |
mount point of disk being written to | |
Protected Attributes inherited from wrench::SimulationTimestampPair | |
SimulationTimestampPair * | endpoint = nullptr |
An optional associated "endpoint" simulation timestamp. | |
Static Protected Attributes inherited from wrench::SimulationTimestampDiskWrite | |
static std::unordered_multimap< DiskAccess, SimulationTimestampDiskWrite * > | pending_disk_writes |
the data structure that holds the ongoing disk writes. More... | |
Detailed Description
A simulation timestamp class for disk write start times.
Constructor & Destructor Documentation
◆ SimulationTimestampDiskWriteStart()
wrench::SimulationTimestampDiskWriteStart::SimulationTimestampDiskWriteStart | ( | std::string | hostname, |
std::string | mount, | ||
double | bytes, | ||
int | counter | ||
) |
Constructor.
- Parameters
-
hostname hostname of disk being write mount mount point of disk being write bytes number of bytes write counter an integer ID
- Exceptions
-
std::invalid_argument
The documentation for this class was generated from the following files:
- SimulationTimestampTypes.h
- SimulationTimestampTypes.cpp