Public Member Functions | Private Attributes
mapviz::Stopwatch Class Reference

#include <stopwatch.h>

List of all members.

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_

Detailed Description

Definition at line 41 of file stopwatch.h.


Constructor & Destructor Documentation

Definition at line 44 of file stopwatch.h.


Member Function Documentation

Definition at line 74 of file stopwatch.h.

int mapviz::Stopwatch::count ( ) const [inline]

Definition at line 68 of file stopwatch.h.

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.


Member Data Documentation

Definition at line 106 of file stopwatch.h.

Definition at line 108 of file stopwatch.h.

Definition at line 110 of file stopwatch.h.

Definition at line 107 of file stopwatch.h.


The documentation for this class was generated from the following file:


mapviz
Author(s): Marc Alban
autogenerated on Thu Jun 6 2019 18:50:58