Namespaces | Classes | Typedefs | Functions
zorba::time Namespace Reference

Namespaces

namespace  calendar
 XQuery 3.0 F&O: 9.8.4.3: The calendars listed below were known to be in use during the last hundred years.
 

Classes

class  Timer
 

Typedefs

typedef clock_t cputime
 
typedef long long msec_type
 
typedef struct timeval walltime
 

Functions

double get_cputime_elapsed (const cputime &t0, const cputime &t1)
 
void get_current_cputime (cputime &t)
 
void get_current_walltime (walltime &t)
 
double get_walltime_elapsed (const walltime &t0, const walltime &t1)
 
msec_type get_walltime_in_millis (const walltime &t)
 

Typedef Documentation

typedef clock_t zorba::time::cputime

Definition at line 112 of file util/time.h.

typedef long long zorba::time::msec_type

Definition at line 60 of file util/time.h.

typedef struct timeval zorba::time::walltime

Definition at line 198 of file util/time.h.

Function Documentation

double zorba::time::get_cputime_elapsed ( const cputime &  t0,
const cputime &  t1 
)
inline

Definition at line 114 of file util/time.h.

void zorba::time::get_current_cputime ( cputime &  t)
inline

Definition at line 119 of file util/time.h.

void zorba::time::get_current_walltime ( walltime &  t)
inline

Definition at line 206 of file util/time.h.

Referenced by zorba::time::Timer::elapsed(), and zorba::time::Timer::start().

double zorba::time::get_walltime_elapsed ( const walltime &  t0,
const walltime &  t1 
)
inline

Definition at line 200 of file util/time.h.

Referenced by zorba::time::Timer::elapsed().

msec_type zorba::time::get_walltime_in_millis ( const walltime &  t)
inline

Definition at line 211 of file util/time.h.

Referenced by zorba::time::Timer::getStart().