Public Member Functions | Private Attributes | List of all members
mapviz::Stopwatch Class Reference

#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_
 

Detailed Description

Definition at line 41 of file stopwatch.h.

Constructor & Destructor Documentation

mapviz::Stopwatch::Stopwatch ( )
inline

Definition at line 44 of file stopwatch.h.

Member Function Documentation

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.

Member Data Documentation

int mapviz::Stopwatch::count_
private

Definition at line 106 of file stopwatch.h.

ros::WallDuration mapviz::Stopwatch::max_time_
private

Definition at line 108 of file stopwatch.h.

ros::WallTime mapviz::Stopwatch::start_
private

Definition at line 110 of file stopwatch.h.

ros::WallDuration mapviz::Stopwatch::total_time_
private

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 Fri Mar 19 2021 02:44:25