Public Member Functions | Private Attributes | List of all members
ScopedTimer Class Reference

Public Member Functions

 ScopedTimer (const char *msg="", double *gold_standard=nullptr)
 
 ~ScopedTimer ()
 

Private Attributes

double *const gold_standard_
 
const char *const msg_
 
const std::chrono::time_point< std::chrono::steady_clock > start_
 

Detailed Description

Definition at line 44 of file robot_state_benchmark.cpp.

Constructor & Destructor Documentation

◆ ScopedTimer()

ScopedTimer::ScopedTimer ( const char *  msg = "",
double *  gold_standard = nullptr 
)
inline

Definition at line 52 of file robot_state_benchmark.cpp.

◆ ~ScopedTimer()

ScopedTimer::~ScopedTimer ( )
inline

Definition at line 57 of file robot_state_benchmark.cpp.

Member Data Documentation

◆ gold_standard_

double* const ScopedTimer::gold_standard_
private

Definition at line 47 of file robot_state_benchmark.cpp.

◆ msg_

const char* const ScopedTimer::msg_
private

Definition at line 46 of file robot_state_benchmark.cpp.

◆ start_

const std::chrono::time_point<std::chrono::steady_clock> ScopedTimer::start_
private

Definition at line 48 of file robot_state_benchmark.cpp.


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


moveit_core
Author(s): Ioan Sucan , Sachin Chitta , Acorn Pooley
autogenerated on Thu Jan 14 2021 03:57:45