Stxxl  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Attributes
stxxl::stats_data Class Reference

#include <iostats.h>

List of all members.

Public Member Functions

 stats_data ()
 stats_data (const stats &s)
stats_data operator+ (const stats_data &a) const
stats_data operator- (const stats_data &a) const
unsigned get_reads () const
unsigned get_writes () const
int64 get_read_volume () const
int64 get_written_volume () const
unsigned get_cached_reads () const
unsigned get_cached_writes () const
int64 get_cached_read_volume () const
int64 get_cached_written_volume () const
double get_read_time () const
double get_write_time () const
double get_pread_time () const
double get_pwrite_time () const
double get_pio_time () const
double get_elapsed_time () const
double get_io_wait_time () const
double get_wait_read_time () const
double get_wait_write_time () const

Private Attributes

unsigned reads
unsigned writes
int64 volume_read
int64 volume_written
unsigned c_reads
unsigned c_writes
int64 c_volume_read
int64 c_volume_written
double t_reads
double t_writes
double p_reads
double p_writes
double p_ios
double t_wait
double t_wait_read
double t_wait_write
double elapsed

Detailed Description

Examples:
algo/test_parallel_sort.cpp, containers/berkeley_db_benchmark.cpp, containers/pq_benchmark.cpp, containers/stack_benchmark.cpp, containers/test_matrix.cpp, io/test_cancel.cpp, io/test_io_sizes.cpp, and stream/test_naive_transpose.cpp.

Definition at line 432 of file iostats.h.


Constructor & Destructor Documentation

Definition at line 446 of file iostats.h.

stxxl::stats_data::stats_data ( const stats s) [inline]

Definition at line 466 of file iostats.h.


Member Function Documentation

Definition at line 562 of file iostats.h.

Referenced by stxxl::operator<<().

unsigned stxxl::stats_data::get_cached_reads ( ) const [inline]

Definition at line 552 of file iostats.h.

Referenced by stxxl::operator<<().

unsigned stxxl::stats_data::get_cached_writes ( ) const [inline]

Definition at line 557 of file iostats.h.

Referenced by stxxl::operator<<().

Definition at line 567 of file iostats.h.

Referenced by stxxl::operator<<().

double stxxl::stats_data::get_elapsed_time ( ) const [inline]

Definition at line 597 of file iostats.h.

Referenced by main(), and stxxl::operator<<().

double stxxl::stats_data::get_io_wait_time ( ) const [inline]

Definition at line 602 of file iostats.h.

Referenced by stxxl::operator<<().

double stxxl::stats_data::get_pio_time ( ) const [inline]

Definition at line 592 of file iostats.h.

Referenced by main(), and stxxl::operator<<().

double stxxl::stats_data::get_pread_time ( ) const [inline]

Definition at line 582 of file iostats.h.

Referenced by main(), and stxxl::operator<<().

double stxxl::stats_data::get_pwrite_time ( ) const [inline]

Definition at line 587 of file iostats.h.

Referenced by main(), and stxxl::operator<<().

double stxxl::stats_data::get_read_time ( ) const [inline]

Definition at line 572 of file iostats.h.

Referenced by main(), and stxxl::operator<<().

Definition at line 542 of file iostats.h.

Referenced by stxxl::operator<<().

unsigned stxxl::stats_data::get_reads ( ) const [inline]

Definition at line 532 of file iostats.h.

Referenced by main(), and stxxl::operator<<().

double stxxl::stats_data::get_wait_read_time ( ) const [inline]

Definition at line 607 of file iostats.h.

Referenced by main(), and stxxl::operator<<().

double stxxl::stats_data::get_wait_write_time ( ) const [inline]

Definition at line 612 of file iostats.h.

Referenced by main(), and stxxl::operator<<().

double stxxl::stats_data::get_write_time ( ) const [inline]

Definition at line 577 of file iostats.h.

Referenced by main(), and stxxl::operator<<().

unsigned stxxl::stats_data::get_writes ( ) const [inline]

Definition at line 537 of file iostats.h.

Referenced by main(), and stxxl::operator<<().

Definition at line 547 of file iostats.h.

Referenced by stxxl::operator<<().

stats_data stxxl::stats_data::operator+ ( const stats_data a) const [inline]
stats_data stxxl::stats_data::operator- ( const stats_data a) const [inline]

Member Data Documentation

unsigned stxxl::stats_data::c_reads [private]

Definition at line 436 of file iostats.h.

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

Definition at line 437 of file iostats.h.

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

Definition at line 437 of file iostats.h.

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

unsigned stxxl::stats_data::c_writes [private]

Definition at line 436 of file iostats.h.

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

double stxxl::stats_data::elapsed [private]

Definition at line 443 of file iostats.h.

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

double stxxl::stats_data::p_ios [private]

Definition at line 440 of file iostats.h.

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

double stxxl::stats_data::p_reads [private]

Definition at line 439 of file iostats.h.

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

double stxxl::stats_data::p_writes [private]

Definition at line 439 of file iostats.h.

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

unsigned stxxl::stats_data::reads [private]

Definition at line 434 of file iostats.h.

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

double stxxl::stats_data::t_reads [private]

Definition at line 438 of file iostats.h.

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

double stxxl::stats_data::t_wait [private]

Definition at line 441 of file iostats.h.

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

Definition at line 442 of file iostats.h.

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

Definition at line 442 of file iostats.h.

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

double stxxl::stats_data::t_writes [private]

Definition at line 438 of file iostats.h.

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

Definition at line 435 of file iostats.h.

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

Definition at line 435 of file iostats.h.

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

unsigned stxxl::stats_data::writes [private]

Definition at line 434 of file iostats.h.

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


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines