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

◆ Stopwatch()

mapviz::Stopwatch::Stopwatch ( )
inline

Definition at line 44 of file stopwatch.h.

Member Function Documentation

◆ avgTime()

ros::WallDuration mapviz::Stopwatch::avgTime ( ) const
inline

Definition at line 74 of file stopwatch.h.

◆ count()

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

Definition at line 68 of file stopwatch.h.

◆ maxTime()

ros::WallDuration mapviz::Stopwatch::maxTime ( ) const
inline

Definition at line 71 of file stopwatch.h.

◆ printInfo()

void mapviz::Stopwatch::printInfo ( const std::string &  name) const
inline

Definition at line 87 of file stopwatch.h.

◆ start()

void mapviz::Stopwatch::start ( )
inline

Definition at line 51 of file stopwatch.h.

◆ stop()

void mapviz::Stopwatch::stop ( )
inline

Definition at line 59 of file stopwatch.h.

Member Data Documentation

◆ count_

int mapviz::Stopwatch::count_
private

Definition at line 106 of file stopwatch.h.

◆ max_time_

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

Definition at line 108 of file stopwatch.h.

◆ start_

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

Definition at line 110 of file stopwatch.h.

◆ total_time_

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 Sun Sep 8 2024 02:27:09