STXXL  1.4-dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
stxxl::stats::scoped_read_write_timer Class Reference

Detailed Description

Definition at line 77 of file iostats.h.

Public Member Functions

 scoped_read_write_timer (size_type size, bool is_write=false)
 
 ~scoped_read_write_timer ()
 
void start (size_type size)
 
void stop ()
 

Private Types

typedef unsigned_type size_type
 

Private Attributes

bool is_write
 
bool running
 

Member Typedef Documentation

Definition at line 79 of file iostats.h.

Constructor & Destructor Documentation

stxxl::stats::scoped_read_write_timer::scoped_read_write_timer ( size_type  size,
bool  is_write = false 
)
inline

Definition at line 87 of file iostats.h.

stxxl::stats::scoped_read_write_timer::~scoped_read_write_timer ( )
inline

Definition at line 96 of file iostats.h.

Member Function Documentation

void stxxl::stats::scoped_read_write_timer::start ( size_type  size)
inline

Definition at line 101 of file iostats.h.

References stxxl::STXXL_UNUSED().

void stxxl::stats::scoped_read_write_timer::stop ( )
inline

Definition at line 116 of file iostats.h.

Member Data Documentation

bool stxxl::stats::scoped_read_write_timer::is_write
private

Definition at line 81 of file iostats.h.

bool stxxl::stats::scoped_read_write_timer::running
private

Definition at line 83 of file iostats.h.


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