|
libmoost
|
#include <stopwatch.hpp>


Public Types | |
| typedef boost::int64_t | elapsed_t |
Public Member Functions | |
| stopwatch () | |
| void | restart () |
| elapsed_t | elapsed_ns () const |
| elapsed_t | elapsed_us () const |
| elapsed_t | elapsed_ms () const |
| elapsed_t | elapsed_secs () const |
| elapsed_t | elapsed () const |
Private Attributes | |
| boost::posix_time::ptime | start_ |
A simple stopwatch to monitor elapsed wallclock time to microsecond granularity
Definition at line 48 of file stopwatch.hpp.
| typedef boost::int64_t moost::utils::stopwatch::elapsed_t |
Definition at line 52 of file stopwatch.hpp.
| moost::utils::stopwatch::stopwatch | ( | ) | [inline] |
| elapsed_t moost::utils::stopwatch::elapsed | ( | ) | const [inline] |
Definition at line 88 of file stopwatch.hpp.


| elapsed_t moost::utils::stopwatch::elapsed_ms | ( | ) | const [inline] |
| elapsed_t moost::utils::stopwatch::elapsed_ns | ( | ) | const [inline] |
| elapsed_t moost::utils::stopwatch::elapsed_secs | ( | ) | const [inline] |
| elapsed_t moost::utils::stopwatch::elapsed_us | ( | ) | const [inline] |
| void moost::utils::stopwatch::restart | ( | ) | [inline] |
boost::posix_time::ptime moost::utils::stopwatch::start_ [private] |
Definition at line 94 of file stopwatch.hpp.