Thrill
0.1
|
Definition at line 248 of file iostats.hpp.
#include <iostats.hpp>
Public Member Functions | |
file_stats_data () | |
file_stats_data (const file_stats &fs) | |
construct file_stats_data by taking current values from file_stats More... | |
unsigned | get_device_id () const |
external_size_type | get_read_bytes () const |
unsigned | get_read_count () const |
double | get_read_time () const |
external_size_type | get_write_bytes () const |
unsigned | get_write_count () const |
double | get_write_time () const |
file_stats_data | operator+ (const file_stats_data &a) const |
file_stats_data | operator- (const file_stats_data &a) const |
Private Attributes | |
unsigned | device_id_ |
device id More... | |
external_size_type | read_bytes_ |
number of bytes read/written More... | |
unsigned | read_count_ |
number of operations More... | |
double | read_time_ |
seconds spent in operations More... | |
external_size_type | write_bytes_ |
unsigned | write_count_ |
double | write_time_ |
|
inline |
Definition at line 260 of file iostats.hpp.
|
inlineexplicit |
construct file_stats_data by taking current values from file_stats
Definition at line 268 of file iostats.hpp.
|
inline |
Definition at line 281 of file iostats.hpp.
References file_stats::device_id_.
Referenced by stats_data::summary< T >::summary().
|
inline |
Definition at line 296 of file iostats.hpp.
References file_stats::read_bytes_.
|
inline |
Definition at line 286 of file iostats.hpp.
References file_stats::read_count_.
|
inline |
Definition at line 306 of file iostats.hpp.
References file_stats::read_time_.
|
inline |
Definition at line 301 of file iostats.hpp.
References file_stats::write_bytes_.
|
inline |
Definition at line 291 of file iostats.hpp.
References file_stats::write_count_.
|
inline |
Definition at line 311 of file iostats.hpp.
References file_stats::write_time_.
file_stats_data operator+ | ( | const file_stats_data & | a | ) | const |
Definition at line 153 of file iostats.cpp.
References file_stats::device_id_, file_stats_data::device_id_, FOXXLL_THROW_IF, file_stats::read_bytes_, file_stats_data::read_bytes_, file_stats::read_count_, file_stats_data::read_count_, file_stats::read_time_, file_stats_data::read_time_, file_stats::write_bytes_, file_stats_data::write_bytes_, file_stats::write_count_, file_stats_data::write_count_, file_stats::write_time_, and file_stats_data::write_time_.
file_stats_data operator- | ( | const file_stats_data & | a | ) | const |
Definition at line 173 of file iostats.cpp.
References file_stats::device_id_, file_stats_data::device_id_, FOXXLL_THROW_IF, file_stats::read_bytes_, file_stats_data::read_bytes_, file_stats::read_count_, file_stats_data::read_count_, file_stats::read_time_, file_stats_data::read_time_, file_stats::write_bytes_, file_stats_data::write_bytes_, file_stats::write_count_, file_stats_data::write_count_, file_stats::write_time_, and file_stats_data::write_time_.
|
private |
device id
Definition at line 251 of file iostats.hpp.
Referenced by file_stats_data::operator+(), and file_stats_data::operator-().
|
private |
number of bytes read/written
Definition at line 255 of file iostats.hpp.
Referenced by file_stats_data::operator+(), and file_stats_data::operator-().
|
private |
number of operations
Definition at line 253 of file iostats.hpp.
Referenced by file_stats_data::operator+(), and file_stats_data::operator-().
|
private |
seconds spent in operations
Definition at line 257 of file iostats.hpp.
Referenced by file_stats_data::operator+(), and file_stats_data::operator-().
|
private |
Definition at line 255 of file iostats.hpp.
Referenced by file_stats_data::operator+(), and file_stats_data::operator-().
|
private |
Definition at line 253 of file iostats.hpp.
Referenced by file_stats_data::operator+(), and file_stats_data::operator-().
|
private |
Definition at line 257 of file iostats.hpp.
Referenced by file_stats_data::operator+(), and file_stats_data::operator-().