code_profiler
|
#include <StatsPublisher.h>
Public Member Functions | |
void | initialize () |
void | publish () const |
void | startTimer (const std::string &label) |
StatsPublisher () | |
void | stopTimer (const std::string &label) |
virtual | ~StatsPublisher () |
Protected Attributes | |
ros::Publisher | pub_stats_ |
std::stack< ScopeStat > | stack_ |
std::map< std::string, Timer > | timers_ |
Definition at line 22 of file StatsPublisher.h.
StatsPublisher::StatsPublisher | ( | ) |
Definition at line 8 of file StatsPublisher.cpp.
|
virtual |
Definition at line 14 of file StatsPublisher.cpp.
void StatsPublisher::initialize | ( | ) |
Definition at line 20 of file StatsPublisher.cpp.
void StatsPublisher::publish | ( | ) | const |
Definition at line 61 of file StatsPublisher.cpp.
void StatsPublisher::startTimer | ( | const std::string & | label | ) |
Definition at line 28 of file StatsPublisher.cpp.
void StatsPublisher::stopTimer | ( | const std::string & | label | ) |
Definition at line 36 of file StatsPublisher.cpp.
|
protected |
Definition at line 41 of file StatsPublisher.h.
|
protected |
Definition at line 45 of file StatsPublisher.h.
|
protected |
Definition at line 43 of file StatsPublisher.h.