#include <stopwatch.h>
Public Member Functions | |
ros::WallDuration | avgTime () const |
int | count () const |
ros::WallDuration | maxTime () const |
void | printInfo (const std::string &name) const |
void | start () |
void | stop () |
Stopwatch () | |
Private Attributes | |
int | count_ |
ros::WallDuration | max_time_ |
ros::WallTime | start_ |
ros::WallDuration | total_time_ |
Definition at line 41 of file stopwatch.h.
mapviz::Stopwatch::Stopwatch | ( | ) | [inline] |
Definition at line 44 of file stopwatch.h.
ros::WallDuration mapviz::Stopwatch::avgTime | ( | ) | const [inline] |
Definition at line 74 of file stopwatch.h.
int mapviz::Stopwatch::count | ( | ) | const [inline] |
Definition at line 68 of file stopwatch.h.
ros::WallDuration mapviz::Stopwatch::maxTime | ( | ) | const [inline] |
Definition at line 71 of file stopwatch.h.
void mapviz::Stopwatch::printInfo | ( | const std::string & | name | ) | const [inline] |
Definition at line 87 of file stopwatch.h.
void mapviz::Stopwatch::start | ( | ) | [inline] |
Definition at line 51 of file stopwatch.h.
void mapviz::Stopwatch::stop | ( | ) | [inline] |
Definition at line 59 of file stopwatch.h.
int mapviz::Stopwatch::count_ [private] |
Definition at line 106 of file stopwatch.h.
Definition at line 108 of file stopwatch.h.
ros::WallTime mapviz::Stopwatch::start_ [private] |
Definition at line 110 of file stopwatch.h.
Definition at line 107 of file stopwatch.h.