Thrill  0.1
file_stats::scoped_read_write_timer Class Reference

Detailed Description

Definition at line 68 of file iostats.hpp.

+ Collaboration diagram for file_stats::scoped_read_write_timer:

#include <iostats.hpp>

Public Member Functions

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

Private Types

using size_type = size_t

Private Attributes

bool is_write_
bool running_ = false

Member Typedef Documentation

◆ size_type

using size_type = size_t

Definition at line 70 of file iostats.hpp.

Constructor & Destructor Documentation

◆ scoped_read_write_timer()

scoped_read_write_timer ( file_stats file_stats,
size_type  size,
bool  is_write = false 

Definition at line 77 of file iostats.hpp.

References file_stats::scoped_read_write_timer::start().

◆ ~scoped_read_write_timer()

Definition at line 84 of file iostats.hpp.

References file_stats::scoped_read_write_timer::stop().

Member Function Documentation

◆ start()

◆ stop()

Member Data Documentation

◆ file_stats_

file_stats& file_stats_

Definition at line 71 of file iostats.hpp.

◆ is_write_

bool is_write_

Definition at line 73 of file iostats.hpp.

◆ running_

bool running_ = false

Definition at line 74 of file iostats.hpp.

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