Givaro
Public Types | Public Member Functions | Static Public Member Functions | Data Fields
UserTimer Class Reference

User timer. More...

#include <givtimer.h>

+ Inheritance diagram for UserTimer:
+ Collaboration diagram for UserTimer:

Public Types

enum  { MSPSEC = 1000000 }
 

Public Member Functions

 UserTimer (const BaseTimer &BT)
 
 UserTimer ()
 
void start ()
 
void stop ()
 
double elapsed ()
 
void clear ()
 
double time () const
 
std::ostream & print (std::ostream &) const
 
const BaseTimer operator- (const BaseTimer &T) const
 
const BaseTimer operator- ()
 
const BaseTimer operator+ (const BaseTimer &T) const
 
BaseTimeroperator+= (const BaseTimer &T)
 
BaseTimeroperator-= (const BaseTimer &T)
 

Static Public Member Functions

static int64_t seed ()
 

Data Fields

double _start_t
 
double _t
 

Detailed Description

User timer.

Member Enumeration Documentation

anonymous enum
inherited
Enumerator
MSPSEC 

Constructor & Destructor Documentation

UserTimer ( const BaseTimer BT)
inline
UserTimer ( )
inline

Member Function Documentation

void start ( )
void stop ( )
double elapsed ( )
inline
void clear ( )
inlineinherited
double time ( ) const
inlineinherited
int64_t seed ( )
staticinherited
std::ostream & print ( std::ostream &  o) const
inherited
const BaseTimer operator- ( const BaseTimer T) const
inherited
const BaseTimer operator- ( )
inherited
const BaseTimer operator+ ( const BaseTimer T) const
inherited
BaseTimer& operator+= ( const BaseTimer T)
inlineinherited
BaseTimer& operator-= ( const BaseTimer T)
inlineinherited

Field Documentation

double _start_t
inherited
double _t
inherited

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