OpenGM  2.3.x
Discrete Graphical Model Library
Public Types | Public Member Functions | List of all members
opengm::Timing< FUNCTOR > Class Template Reference

Platform-independent runtime measurements of functors. More...

#include <timer.hxx>

+ Collaboration diagram for opengm::Timing< FUNCTOR >:

Public Types

typedef FUNCTOR Functor
 

Public Member Functions

 Timing (Functor, const size_t=1)
 
const std::vector< double > & times () const
 

Detailed Description

template<class FUNCTOR>
class opengm::Timing< FUNCTOR >

Platform-independent runtime measurements of functors.

Definition at line 65 of file timer.hxx.

Member Typedef Documentation

template<class FUNCTOR >
typedef FUNCTOR opengm::Timing< FUNCTOR >::Functor

Definition at line 67 of file timer.hxx.

Constructor & Destructor Documentation

template<class FUNCTOR >
opengm::Timing< FUNCTOR >::Timing ( Functor  functor,
const size_t  repetitions = 1 
)
inline

Definition at line 135 of file timer.hxx.

+ Here is the call graph for this function:

Member Function Documentation

template<class FUNCTOR >
const std::vector< double > & opengm::Timing< FUNCTOR >::times ( ) const
inline

Definition at line 156 of file timer.hxx.