A structure to retrieve disk statistics (read/write IOPS, transfer rates etc) More...
#include <SystemInfo.h>
Public Member Functions | |
DiskStat () | |
DiskStat (const DiskStat &other) | |
~DiskStat () | |
void | swap (DiskStat &other) |
DiskStat & | refresh (const char *dir_prefix="/") |
DiskStat & | operator= (const DiskStat &other) |
bool | operator== (const DiskStat &other) const |
bool | operator!= (const DiskStat &other) const |
Public Attributes | |
String | prefix |
double | reads_rate |
double | writes_rate {} |
double | read_rate {} |
double | write_rate {} |
void * | prev_stat {} |
Stopwatch | stopwatch |
A structure to retrieve disk statistics (read/write IOPS, transfer rates etc)
Definition at line 123 of file SystemInfo.h.
|
inline |
Definition at line 124 of file SystemInfo.h.
Hypertable::DiskStat::DiskStat | ( | const DiskStat & | other | ) |
Definition at line 486 of file SystemInfo.cc.
Hypertable::DiskStat::~DiskStat | ( | ) |
Definition at line 497 of file SystemInfo.cc.
|
inline |
Definition at line 135 of file SystemInfo.h.
Definition at line 129 of file SystemInfo.h.
bool DiskStat::operator== | ( | const DiskStat & | other | ) | const |
Definition at line 99 of file SystemInfo.cc.
DiskStat & Hypertable::DiskStat::refresh | ( | const char * | dir_prefix = "/" | ) |
Definition at line 511 of file SystemInfo.cc.
void Hypertable::DiskStat::swap | ( | DiskStat & | other | ) |
Definition at line 501 of file SystemInfo.cc.
String Hypertable::DiskStat::prefix |
Definition at line 139 of file SystemInfo.h.
void* Hypertable::DiskStat::prev_stat {} |
Definition at line 148 of file SystemInfo.h.
double Hypertable::DiskStat::read_rate {} |
Definition at line 145 of file SystemInfo.h.
double Hypertable::DiskStat::reads_rate |
Definition at line 141 of file SystemInfo.h.
Stopwatch Hypertable::DiskStat::stopwatch |
Definition at line 149 of file SystemInfo.h.
double Hypertable::DiskStat::write_rate {} |
Definition at line 146 of file SystemInfo.h.
double Hypertable::DiskStat::writes_rate {} |
Definition at line 142 of file SystemInfo.h.