Public Member Functions | Public Attributes | List of all members
moveit::tools::Profiler::TimeInfo Struct Reference

Information about time spent in a section of the code. More...

Public Member Functions

void set ()
 Begin counting time. More...
 
 TimeInfo ()
 
void update ()
 Add the counted time to the total time. More...
 

Public Attributes

boost::posix_time::time_duration longest
 The longest counted time interval. More...
 
unsigned long int parts
 Number of times a chunk of time was added to this structure. More...
 
boost::posix_time::time_duration shortest
 The shortest counted time interval. More...
 
boost::posix_time::ptime start
 The point in time when counting time started. More...
 
boost::posix_time::time_duration total
 Total time counted. More...
 

Detailed Description

Information about time spent in a section of the code.

Definition at line 238 of file profiler.h.

Constructor & Destructor Documentation

◆ TimeInfo()

moveit::tools::Profiler::TimeInfo::TimeInfo ( )
inline

Definition at line 240 of file profiler.h.

Member Function Documentation

◆ set()

void moveit::tools::Profiler::TimeInfo::set ( )
inline

Begin counting time.

Definition at line 261 of file profiler.h.

◆ update()

void moveit::tools::Profiler::TimeInfo::update ( )
inline

Add the counted time to the total time.

Definition at line 267 of file profiler.h.

Member Data Documentation

◆ longest

boost::posix_time::time_duration moveit::tools::Profiler::TimeInfo::longest

The longest counted time interval.

Definition at line 252 of file profiler.h.

◆ parts

unsigned long int moveit::tools::Profiler::TimeInfo::parts

Number of times a chunk of time was added to this structure.

Definition at line 255 of file profiler.h.

◆ shortest

boost::posix_time::time_duration moveit::tools::Profiler::TimeInfo::shortest

The shortest counted time interval.

Definition at line 249 of file profiler.h.

◆ start

boost::posix_time::ptime moveit::tools::Profiler::TimeInfo::start

The point in time when counting time started.

Definition at line 258 of file profiler.h.

◆ total

boost::posix_time::time_duration moveit::tools::Profiler::TimeInfo::total

Total time counted.

Definition at line 246 of file profiler.h.


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


moveit_core
Author(s): Ioan Sucan , Sachin Chitta , Acorn Pooley
autogenerated on Wed Oct 21 2020 03:28:06