hpp-rbprm  4.13.0
Implementation of RB-PRM planner using hpp.
RbPrmProfiler Class Reference

#include <hpp/rbprm/rbprm-profiler.hh>

Inheritance diagram for RbPrmProfiler:
Collaboration diagram for RbPrmProfiler:

Public Member Functions

 RbPrmProfiler (StopwatchMode _mode=NONE)
 
 ~RbPrmProfiler ()
 
void add_to_count (const std::string &event, int nbOcc=1)
 
void report_count (std::ostream &output=std::cout)
 
void report_all_and_count (int precision=2, std::ostream &output=std::cout)
 
- Public Member Functions inherited from Stopwatch
 Stopwatch (StopwatchMode _mode=NONE)
 
 ~Stopwatch ()
 
bool performance_exists (std::string perf_name)
 
void set_mode (StopwatchMode mode)
 
void start (std::string perf_name)
 
void stop (std::string perf_name)
 
void pause (std::string perf_name)
 
void reset (std::string perf_name)
 
void reset_all ()
 
void report (std::string perf_name, int precision=2, std::ostream &output=std::cout)
 
void report_all (int precision=2, std::ostream &output=std::cout)
 
long double get_total_time (std::string perf_name)
 
long double get_average_time (std::string perf_name)
 
long double get_min_time (std::string perf_name)
 
long double get_max_time (std::string perf_name)
 
long double get_last_time (std::string perf_name)
 
long double get_time_so_far (std::string perf_name)
 
void turn_off ()
 
void turn_on ()
 
long double take_time ()
 

Additional Inherited Members

- Protected Attributes inherited from Stopwatch
bool active
 
StopwatchMode mode
 
std::map< std::string, PerformanceData > * records_of
 

Constructor & Destructor Documentation

◆ RbPrmProfiler()

RbPrmProfiler::RbPrmProfiler ( StopwatchMode  _mode = NONE)
inline

Constructor

◆ ~RbPrmProfiler()

RbPrmProfiler::~RbPrmProfiler ( )
inline

Destructor

Member Function Documentation

◆ add_to_count()

void RbPrmProfiler::add_to_count ( const std::string &  event,
int  nbOcc = 1 
)
inline

◆ report_all_and_count()

void RbPrmProfiler::report_all_and_count ( int  precision = 2,
std::ostream &  output = std::cout 
)
inline

◆ report_count()

void RbPrmProfiler::report_count ( std::ostream &  output = std::cout)
inline

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