Thrill  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
file_stats_data Class Reference

Detailed Description

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_
 

Constructor & Destructor Documentation

file_stats_data ( )
inline

Definition at line 260 of file iostats.hpp.

file_stats_data ( const file_stats fs)
inlineexplicit

construct file_stats_data by taking current values from file_stats

Definition at line 268 of file iostats.hpp.

Member Function Documentation

unsigned get_device_id ( ) const
inline

Definition at line 281 of file iostats.hpp.

References file_stats_data::device_id_.

external_size_type get_read_bytes ( ) const
inline

Definition at line 296 of file iostats.hpp.

References file_stats_data::read_bytes_.

unsigned get_read_count ( ) const
inline

Definition at line 286 of file iostats.hpp.

References file_stats_data::read_count_.

double get_read_time ( ) const
inline

Definition at line 306 of file iostats.hpp.

References file_stats_data::read_time_.

external_size_type get_write_bytes ( ) const
inline

Definition at line 301 of file iostats.hpp.

References file_stats_data::write_bytes_.

unsigned get_write_count ( ) const
inline

Definition at line 291 of file iostats.hpp.

References file_stats_data::write_count_.

double get_write_time ( ) const
inline

Definition at line 311 of file iostats.hpp.

References file_stats_data::write_time_.

Member Data Documentation

unsigned device_id_
private
external_size_type read_bytes_
private

number of bytes read/written

Definition at line 255 of file iostats.hpp.

Referenced by file_stats_data::get_read_bytes(), file_stats_data::operator+(), and file_stats_data::operator-().

unsigned read_count_
private

number of operations

Definition at line 253 of file iostats.hpp.

Referenced by file_stats_data::get_read_count(), file_stats_data::operator+(), and file_stats_data::operator-().

double read_time_
private

seconds spent in operations

Definition at line 257 of file iostats.hpp.

Referenced by file_stats_data::get_read_time(), file_stats_data::operator+(), and file_stats_data::operator-().

unsigned write_count_
private
double write_time_
private

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