Super4PCS Library  V1.1.2(719f5c0)
GlobalRegistration::Utils::Timer Class Reference
+ Collaboration diagram for GlobalRegistration::Utils::Timer:

Public Types

typedef std::chrono::high_resolution_clock clock
 
typedef std::chrono::nanoseconds timestep
 

Public Member Functions

 Timer (bool run=false)
 
void reset ()
 
timestep elapsed () const
 

Friends

template<typename T , typename Traits >
std::basic_ostream< T, Traits > & operator<< (std::basic_ostream< T, Traits > &out, const Timer &timer)
 

Member Typedef Documentation

◆ clock

typedef std::chrono::high_resolution_clock GlobalRegistration::Utils::Timer::clock

◆ timestep

typedef std::chrono::nanoseconds GlobalRegistration::Utils::Timer::timestep

Constructor & Destructor Documentation

◆ Timer()

GlobalRegistration::Utils::Timer::Timer ( bool  run = false)
inlineexplicit
+ Here is the call graph for this function:

Member Function Documentation

◆ elapsed()

timestep GlobalRegistration::Utils::Timer::elapsed ( ) const
inline

◆ reset()

void GlobalRegistration::Utils::Timer::reset ( )
inline

Friends And Related Function Documentation

◆ operator<<

template<typename T , typename Traits >
std::basic_ostream<T, Traits>& operator<< ( std::basic_ostream< T, Traits > &  out,
const Timer timer 
)
friend