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::scoped_read_write_timer::file_stats_, file_stats::scoped_read_write_timer::is_write_, file_stats::read_started(), file_stats::scoped_read_write_timer::running_, and file_stats::write_started().
Referenced by file_stats::scoped_read_write_timer::scoped_read_write_timer().
|
inline |
Definition at line 100 of file iostats.hpp.
References file_stats::scoped_read_write_timer::file_stats_, file_stats::scoped_read_write_timer::is_write_, file_stats::read_finished(), file_stats::scoped_read_write_timer::running_, and file_stats::write_finished().
Referenced by file_stats::scoped_read_write_timer::~scoped_read_write_timer().
|
private |
Definition at line 71 of file iostats.hpp.
Referenced by file_stats::scoped_read_write_timer::start(), and file_stats::scoped_read_write_timer::stop().
|
private |
Definition at line 73 of file iostats.hpp.
Referenced by file_stats::scoped_read_write_timer::start(), and file_stats::scoped_read_write_timer::stop().
|
private |
Definition at line 74 of file iostats.hpp.
Referenced by file_stats::scoped_read_write_timer::start(), and file_stats::scoped_read_write_timer::stop().