Developer Documentation
|
#include <ACG/Utils/Tracing.hh>
Public Member Functions | |
TimedTracing (const std::string &_text, std::ostream &_os=std::cerr) | |
default constructor More... | |
~TimedTracing () | |
destructor More... | |
![]() | |
Tracing (const std::string &_text, std::ostream &_os=std::cerr) | |
Constructor. More... | |
~Tracing () | |
Destructor. More... | |
void | progress () |
Private Attributes | |
StopWatch | timer_ |
Additional Inherited Members | |
![]() | |
std::ostream & | os_ |
![]() | |
static char | progress_ [4] = { '-', '\\', '|', '/' } |
static unsigned char | idx_ = 0 |
This class is similar to ACG::Tracing. It just starts a timer at the start of the process to be traced and outputs the time the computation took when leaving the block. Again we provide some convenience macros.
If you want to trace only one command you can also use:
Definition at line 182 of file Tracing.hh.
|
inline |
default constructor
Definition at line 187 of file Tracing.hh.
|
inline |
destructor
Definition at line 194 of file Tracing.hh.
|
private |
Definition at line 201 of file Tracing.hh.