#include <ScopedAdvancedTimer.h>
Scoped (RAII) AdvancedTimer to simplify a basic usage Example of use { ///< open a scope to start measuring ScopedAdvancedTimer t("myMeasurement") ... ... } ///< close the scope... the timer t is destructed and the measurement recorded.
Public Attributes | |
AdvancedTimer::IdStep | m_id |
std::optional< AdvancedTimer::IdObj > | m_objId |
Public Member Functions | |
ScopedAdvancedTimer (const std::string &message) | |
ScopedAdvancedTimer (const char *message) | |
template<class T > | |
ScopedAdvancedTimer (const char *message, T *obj) | |
~ScopedAdvancedTimer () | |
AdvancedTimer::IdStep sofa::helper::ScopedAdvancedTimer::m_id |
std::optional<AdvancedTimer::IdObj> sofa::helper::ScopedAdvancedTimer::m_objId |
|
explicit |
|
explicit |
|
explicit |
sofa::helper::ScopedAdvancedTimer::~ScopedAdvancedTimer | ( | ) |