Simple scoped timer, which takes a text message and prints the duration until the scope is destroyed.
- Examples:
- examples/containers/vector_buf.cpp.
Definition at line 227 of file timer.h.
stxxl::scoped_print_timer::scoped_print_timer |
( |
const std::string & |
message, |
|
|
const uint64 |
bytes = 0 |
|
) |
| |
|
inline |
stxxl::scoped_print_timer::~scoped_print_timer |
( |
| ) |
|
|
inline |
const stxxl::timer& stxxl::scoped_print_timer::timer |
( |
| ) |
const |
|
inline |
constant access to enclosed timer
Definition at line 269 of file timer.h.
uint64 stxxl::scoped_print_timer::m_bytes |
|
protected |
bytes processed
Definition at line 234 of file timer.h.
std::string stxxl::scoped_print_timer::m_message |
|
protected |
The documentation for this class was generated from the following file: