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

Detailed Description

Definition at line 148 of file iostats.hpp.

+ Collaboration diagram for file_stats::scoped_read_timer:

#include <iostats.hpp>

Public Member Functions

 scoped_read_timer (file_stats *file_stats, size_type size)
 
 ~scoped_read_timer ()
 
void start (size_type size)
 
void stop ()
 

Private Types

using size_type = size_t
 

Private Attributes

file_statsfile_stats_
 
bool running_ = false
 

Member Typedef Documentation

using size_type = size_t
private

Definition at line 150 of file iostats.hpp.

Constructor & Destructor Documentation

scoped_read_timer ( file_stats file_stats,
size_type  size 
)
inlineexplicit

Definition at line 156 of file iostats.hpp.

References file_stats::scoped_read_timer::start().

~scoped_read_timer ( )
inline

Definition at line 162 of file iostats.hpp.

References file_stats::scoped_read_timer::stop().

Member Function Documentation

Member Data Documentation

file_stats& file_stats_
private
bool running_ = false
private

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