code_profiler
|
#include <profiler.h>
Public Member Functions | |
const std::string & | getName () const |
Profiler () | |
Profiler (const std::string &name) | |
void | setName (const std::string &name) |
void | startTimer (const std::string &name) |
void | stopTimer () |
virtual | ~Profiler () |
Protected Member Functions | |
void | addToStream (std::ostream &out, const std::string &prefix="") const |
Profiler (const std::string &name, Profiler *parent) | |
Protected Attributes | |
std::map< std::string, Profiler * > | children_ |
Profiler * | head_ |
std::string | name_ |
Profiler * | parent_ |
Timer | timer_ |
Friends | |
std::ostream & | operator<< (std::ostream &out, const Profiler &p) |
Definition at line 11 of file profiler.h.
tue::Profiler::Profiler | ( | ) |
Definition at line 10 of file profiler.cpp.
tue::Profiler::Profiler | ( | const std::string & | name | ) |
Definition at line 16 of file profiler.cpp.
|
virtual |
Definition at line 28 of file profiler.cpp.
|
protected |
Definition at line 22 of file profiler.cpp.
|
protected |
Definition at line 78 of file profiler.cpp.
|
inline |
Definition at line 24 of file profiler.h.
|
inline |
Definition at line 22 of file profiler.h.
void tue::Profiler::startTimer | ( | const std::string & | name | ) |
Definition at line 38 of file profiler.cpp.
void tue::Profiler::stopTimer | ( | ) |
Definition at line 64 of file profiler.cpp.
|
friend |
Definition at line 97 of file profiler.cpp.
|
protected |
Definition at line 42 of file profiler.h.
|
protected |
Definition at line 36 of file profiler.h.
|
protected |
Definition at line 34 of file profiler.h.
|
protected |
Definition at line 38 of file profiler.h.
|
protected |
Definition at line 40 of file profiler.h.