0.9.8.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Public Attributes | List of all members
Hypertable::DiskStat Struct Reference

A structure to retrieve disk statistics (read/write IOPS, transfer rates etc) More...

#include <SystemInfo.h>

Collaboration diagram for Hypertable::DiskStat:
Collaboration graph
[legend]

Public Member Functions

 DiskStat ()
 
 DiskStat (const DiskStat &other)
 
 ~DiskStat ()
 
void swap (DiskStat &other)
 
DiskStatrefresh (const char *dir_prefix="/")
 
DiskStatoperator= (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
 

Detailed Description

A structure to retrieve disk statistics (read/write IOPS, transfer rates etc)

Definition at line 123 of file SystemInfo.h.

Constructor & Destructor Documentation

Hypertable::DiskStat::DiskStat ( )
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.

Member Function Documentation

bool Hypertable::DiskStat::operator!= ( const DiskStat other) const
inline

Definition at line 135 of file SystemInfo.h.

DiskStat& Hypertable::DiskStat::operator= ( const DiskStat other)
inline

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.

Member Data Documentation

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.


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