|
libmoost
|
#include <timer.h>

Public Member Functions | |
| reassignable_scoped_time (multi_timer &mt, const std::string &name, int max_threshold_time_ms=(std::numeric_limits< int >::max)()) | |
| ~reassignable_scoped_time () | |
| void | reassign (const std::string &name) |
| void | stop () |
| void | discard () |
| boost::posix_time::ptime | get_time () const |
Private Attributes | |
| multi_timer & | m_multi_timer |
| boost::shared_ptr< timer > | m_timer |
| bool | m_stopped |
| boost::posix_time::ptime | m_time |
| boost::mutex | m_reassign_mutex |
| int | m_max_threshold_time_ms |
| multi_timer::reassignable_scoped_time::reassignable_scoped_time | ( | multi_timer & | mt, |
| const std::string & | name, | ||
| int | max_threshold_time_ms = (std::numeric_limits<int>::max)() |
||
| ) |
| boost::posix_time::ptime multi_timer::reassignable_scoped_time::get_time | ( | ) | const |
| void multi_timer::reassignable_scoped_time::reassign | ( | const std::string & | name | ) |
boost::mutex moost::multi_timer::reassignable_scoped_time::m_reassign_mutex [private] |
bool moost::multi_timer::reassignable_scoped_time::m_stopped [private] |
boost::posix_time::ptime moost::multi_timer::reassignable_scoped_time::m_time [private] |
boost::shared_ptr<timer> moost::multi_timer::reassignable_scoped_time::m_timer [private] |