SOFA API  c76874b7
Open source framework for multi-physics simuation
sofa::helper::ScopedAdvancedTimer Struct Reference

#include <AdvancedTimer.h>

Scoped (RAII) AdvancedTimer to simplify a basic usage. More...

Detailed Description

Scoped (RAII) AdvancedTimer to simplify a basic usage.

Public Attributes

const char * message
 

Public Member Functions

 ScopedAdvancedTimer (const std::string &message)
 
 ScopedAdvancedTimer (const char *message)
 
 ~ScopedAdvancedTimer ()
 

Attribute details

const char* sofa::helper::ScopedAdvancedTimer::message

Constructor details

sofa::helper::ScopedAdvancedTimer::ScopedAdvancedTimer ( const std::string &  message)
inline
sofa::helper::ScopedAdvancedTimer::ScopedAdvancedTimer ( const char *  message)
inline
sofa::helper::ScopedAdvancedTimer::~ScopedAdvancedTimer ( )
inline