Classes | Typedefs | Functions
zorba::time Namespace Reference

Classes

class  Timer

Typedefs

typedef clock_t cputime
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)
long get_walltime_in_millis (const walltime &t)

Typedef Documentation

typedef clock_t zorba::time::cputime

Definition at line 103 of file time.h.

typedef struct timeval zorba::time::walltime

Definition at line 189 of file time.h.


Function Documentation

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

Definition at line 105 of file time.h.

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

Definition at line 110 of file time.h.

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

Definition at line 197 of file 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 191 of file time.h.

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

long zorba::time::get_walltime_in_millis ( const walltime &  t) [inline]

Definition at line 202 of file time.h.

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

blog comments powered by Disqus