Thrill  0.1

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() [1/2]

file_stats_data ( )
inline

Definition at line 260 of file iostats.hpp.

◆ file_stats_data() [2/2]

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

◆ get_device_id()

unsigned get_device_id ( ) const
inline

Definition at line 281 of file iostats.hpp.

References file_stats::device_id_.

Referenced by stats_data::summary< T >::summary().

◆ get_read_bytes()

external_size_type get_read_bytes ( ) const
inline

Definition at line 296 of file iostats.hpp.

References file_stats::read_bytes_.

◆ get_read_count()

unsigned get_read_count ( ) const
inline

Definition at line 286 of file iostats.hpp.

References file_stats::read_count_.

◆ get_read_time()

double get_read_time ( ) const
inline

Definition at line 306 of file iostats.hpp.

References file_stats::read_time_.

◆ get_write_bytes()

external_size_type get_write_bytes ( ) const
inline

Definition at line 301 of file iostats.hpp.

References file_stats::write_bytes_.

◆ get_write_count()

unsigned get_write_count ( ) const
inline

Definition at line 291 of file iostats.hpp.

References file_stats::write_count_.

◆ get_write_time()

double get_write_time ( ) const
inline

Definition at line 311 of file iostats.hpp.

References file_stats::write_time_.

◆ operator+()

◆ operator-()

Member Data Documentation

◆ device_id_

unsigned device_id_
private

device id

Definition at line 251 of file iostats.hpp.

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

◆ read_bytes_

external_size_type read_bytes_
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-().

◆ read_count_

unsigned read_count_
private

number of operations

Definition at line 253 of file iostats.hpp.

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

◆ read_time_

double read_time_
private

seconds spent in operations

Definition at line 257 of file iostats.hpp.

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

◆ write_bytes_

external_size_type write_bytes_
private

Definition at line 255 of file iostats.hpp.

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

◆ write_count_

unsigned write_count_
private

Definition at line 253 of file iostats.hpp.

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

◆ write_time_

double write_time_
private

Definition at line 257 of file iostats.hpp.

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


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