High Performance Plasticity  0.5.0
hpp::Timer Class Reference

#include <profUtils.h>

Public Member Functions

 Timer ()
 
void start ()
 
void stop ()
 
double getDuration ()
 

Private Attributes

double duration = 0.0
 
bool running = false
 
timespec beg_
 
timespec end_
 

Constructor & Destructor Documentation

hpp::Timer::Timer ( )

Member Function Documentation

double hpp::Timer::getDuration ( )
inline
void hpp::Timer::start ( )
void hpp::Timer::stop ( )

Member Data Documentation

timespec hpp::Timer::beg_
private
double hpp::Timer::duration = 0.0
private
timespec hpp::Timer::end_
private
bool hpp::Timer::running = false
private

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