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

base for class RealTimer; class SysTimer; class UserTimer; More...

#include <givtimer.h>

+ Inheritance diagram for BaseTimer:

Public Types

enum  { MSPSEC = 1000000 }
 

Public Member Functions

 BaseTimer ()
 
void clear ()
 
double time () const
 
std::ostream & print (std::ostream &) const
 
BaseTimeroperator= (const BaseTimer &T)
 
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

base for class RealTimer; class SysTimer; class UserTimer;

Examples:
examples/Polynomial/highorder.C, and examples/Polynomial/trunc_arith.C.

Member Enumeration Documentation

anonymous enum
Enumerator
MSPSEC 

Constructor & Destructor Documentation

BaseTimer ( )
inline

Member Function Documentation

void clear ( )
inline
double time ( ) const
inline
int64_t seed ( )
static
std::ostream & print ( std::ostream &  o) const
BaseTimer & operator= ( const BaseTimer T)
const BaseTimer operator- ( const BaseTimer T) const
const BaseTimer operator- ( )
const BaseTimer operator+ ( const BaseTimer T) const
BaseTimer& operator+= ( const BaseTimer T)
inline
BaseTimer& operator-= ( const BaseTimer T)
inline

Field Documentation

double _start_t
double _t

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