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

◆ start()

void start ( )
inline

◆ stop()

void stop ( )
inline

◆ clear()

void clear ( )
inline

◆ realtime()

double realtime ( )
inline

◆ usertime()

double usertime ( )
inline

◆ time()

double time ( ) const
inline

◆ operator=()

OMPTimer& operator= ( const OMPTimer t)
inline

◆ operator+=()

OMPTimer& operator+= ( const OMPTimer t)
inline

◆ operator-=()

OMPTimer& operator-= ( const OMPTimer t)
inline

◆ operator+()

OMPTimer operator+ ( const OMPTimer t) const
inline

◆ operator-() [1/2]

OMPTimer operator- ( const OMPTimer t) const
inline

◆ operator-() [2/2]

OMPTimer operator- ( )
inline

Friends And Related Function Documentation

◆ operator<<

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

Field Documentation

◆ _c

double _c

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