Thrill
0.1
|
Definition at line 68 of file iostats.hpp.
#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 | |
file_stats & | file_stats_ |
bool | is_write_ |
bool | running_ = false |
|
private |
Definition at line 70 of file iostats.hpp.
|
inlineexplicit |
Definition at line 77 of file iostats.hpp.
References file_stats::scoped_read_write_timer::start().
|
inline |
Definition at line 84 of file iostats.hpp.
References file_stats::scoped_read_write_timer::stop().
|
inline |
Definition at line 89 of file iostats.hpp.
References file_stats::read_started(), and file_stats::write_started().
Referenced by file_stats::scoped_read_timer::scoped_read_timer(), file_stats::scoped_read_write_timer::scoped_read_write_timer(), stats::scoped_wait_timer::scoped_wait_timer(), and file_stats::scoped_write_timer::scoped_write_timer().
|
inline |
Definition at line 100 of file iostats.hpp.
References file_stats::read_finished(), and file_stats::write_finished().
Referenced by file_stats::scoped_read_timer::~scoped_read_timer(), file_stats::scoped_read_write_timer::~scoped_read_write_timer(), stats::scoped_wait_timer::~scoped_wait_timer(), and file_stats::scoped_write_timer::~scoped_write_timer().
|
private |
Definition at line 71 of file iostats.hpp.
|
private |
Definition at line 73 of file iostats.hpp.
|
private |
Definition at line 74 of file iostats.hpp.