Givaro
Public Member Functions | Data Fields | Friends
OMPTimer Struct Reference

OMP timer. More...

#include <givomptimer.h>

Public Member Functions

void start ()
 
void stop ()
 
void clear ()
 
double realtime ()
 
double usertime ()
 
double time () const
 
OMPTimeroperator= (const OMPTimer &t)
 
OMPTimeroperator+= (const OMPTimer &t)
 
OMPTimeroperator-= (const OMPTimer &t)
 
OMPTimer operator+ (const OMPTimer &t) const
 
OMPTimer operator- (const OMPTimer &t) const
 
OMPTimer operator- ()
 

Data Fields

double _c
 

Friends

std::ostream & operator<< (std::ostream &o, const OMPTimer &t)
 

Detailed Description

OMP timer.

Member Function Documentation

void start ( )
inline
void stop ( )
inline
void clear ( )
inline
double realtime ( )
inline
double usertime ( )
inline
double time ( ) const
inline
OMPTimer& operator= ( const OMPTimer t)
inline
OMPTimer& operator+= ( const OMPTimer t)
inline
OMPTimer& operator-= ( const OMPTimer t)
inline
OMPTimer operator+ ( const OMPTimer t) const
inline
OMPTimer operator- ( const OMPTimer t) const
inline
OMPTimer operator- ( )
inline

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  o,
const OMPTimer t 
)
friend

Field Documentation

double _c

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