OmniSciDB
a5dc49c757
|
Public Member Functions | |
Duration (DurationTree *const duration_tree, int const depth, DebugTimerParams const debug_timer_params) | |
bool | stop () |
template<typename Units = std::chrono::milliseconds> | |
Units::rep | relative_start_time () const |
template<typename Units = std::chrono::milliseconds> | |
Units::rep | value () const |
DebugTimerParams const * | operator-> () const |
Public Attributes | |
int const | depth_ |
DebugTimerParams const | debug_timer_params_ |
Private Attributes | |
DurationTree *const | duration_tree_ |
Clock::time_point const | start_ |
Clock::time_point | stop_ |
Definition at line 572 of file Logger.cpp.
|
inline |
Definition at line 581 of file Logger.cpp.
|
inline |
Definition at line 595 of file Logger.cpp.
References debug_timer_params_.
Units::rep logger::Duration::relative_start_time | ( | ) | const |
Definition at line 640 of file Logger.cpp.
References duration_tree_, start_, and logger::DurationTree::start_.
Referenced by logger::JsonEncoder::operator()(), and logger::operator<<().
bool logger::Duration::stop | ( | ) |
Set stop_, decrement DurationTree::current_depth_. Return true iff this Duration represents the root timer (see docs).
Definition at line 633 of file Logger.cpp.
References logger::DurationTree::decrementDepth(), depth_, duration_tree_, and stop_.
Units::rep logger::Duration::value | ( | ) | const |
Definition at line 645 of file Logger.cpp.
Referenced by logger::JsonEncoder::operator()(), and logger::operator<<().
DebugTimerParams const logger::Duration::debug_timer_params_ |
Definition at line 579 of file Logger.cpp.
Referenced by operator->().
int const logger::Duration::depth_ |
Definition at line 578 of file Logger.cpp.
Referenced by logger::GetDepth::operator()(), logger::JsonEncoder::operator()(), logger::operator<<(), and stop().
|
private |
Definition at line 573 of file Logger.cpp.
Referenced by relative_start_time(), and stop().
|
private |
Definition at line 574 of file Logger.cpp.
Referenced by relative_start_time(), and value().
|
private |
Definition at line 575 of file Logger.cpp.