wrench::SimulationTimestampDiskReadStart Class Reference

A simulation timestamp class for disk read start times. More...

#include <SimulationTimestampTypes.h>

Inheritance diagram for wrench::SimulationTimestampDiskReadStart:
wrench::SimulationTimestampDiskRead wrench::SimulationTimestampPair wrench::SimulationTimestampType

Public Member Functions

 SimulationTimestampDiskReadStart (std::string hostname, std::string mount, double bytes, int counter)
 Constructor. More...
 
- Public Member Functions inherited from wrench::SimulationTimestampDiskRead
double getBytes ()
 retrieves the amount of bytes being read More...
 
int getCounter ()
 To get counter of disk operation. More...
 
SimulationTimestampDiskReadgetEndpoint () override
 Retrieve the matching endpoint, if any. More...
 
std::string getHostname ()
 retrieves the hostname where read occurs More...
 
std::string getMount ()
 retrieves mount point of read More...
 
- Public Member Functions inherited from wrench::SimulationTimestampPair
 SimulationTimestampPair ()
 Constructor.
 
 SimulationTimestampPair (SimulationTimestampPair *endpoint)
 Constructor. More...
 
- Public Member Functions inherited from wrench::SimulationTimestampType
 SimulationTimestampType ()
 
More...
 
double getDate ()
 Retrieve the date recorded for this timestamp. More...
 

Additional Inherited Members

- Protected Member Functions inherited from wrench::SimulationTimestampDiskRead
 SimulationTimestampDiskRead (std::string hostname, std::string mount, double bytes, int counter)
 Constructor. More...
 
void setEndpoints ()
 Sets the endpoint of the calling object (SimulationTimestampDiskReadFailure, SimulationTimestampDiskReadTerminated, SimulationTimestampDiskReadStart) with a SimulationTimestampDiskReadStart object.
 
- Protected Attributes inherited from wrench::SimulationTimestampDiskRead
double bytes
 amount of bytes being read
 
int counter
 counter to differentiate reads
 
std::string hostname
 hostname of disk being read from
 
std::string mount
 mount point of disk being read from
 
- Protected Attributes inherited from wrench::SimulationTimestampPair
SimulationTimestampPairendpoint = nullptr
 An optional associated "endpoint" simulation timestamp.
 
- Static Protected Attributes inherited from wrench::SimulationTimestampDiskRead
static std::unordered_multimap< DiskAccess, SimulationTimestampDiskRead * > pending_disk_reads
 the data structure that holds the ongoing disk reads. More...
 

Detailed Description

A simulation timestamp class for disk read start times.

Constructor & Destructor Documentation

◆ SimulationTimestampDiskReadStart()

wrench::SimulationTimestampDiskReadStart::SimulationTimestampDiskReadStart ( std::string  hostname,
std::string  mount,
double  bytes,
int  counter 
)

Constructor.

Parameters
hostnamehostname of disk being read
mountmount point of disk being read
bytesnumber of bytes read
counteran integer ID
Exceptions
std::invalid_argument

The documentation for this class was generated from the following files: