polyora/timer.h File Reference

#include <map>
#include <list>
#include <string.h>
#include <sys/time.h>

Include dependency graph for timer.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  cmp_str
class  Timer
class  TaskTimer
struct  TaskTimer::SelfIncl

Typedefs

typedef struct timeval time_type

Functions

time_type get_time ()
double time_to_msec (time_type &t)
time_type operator- (const time_type &a, const time_type &b)


Typedef Documentation

typedef struct timeval time_type

Definition at line 32 of file timer.h.


Function Documentation

time_type get_time (  ) 

Definition at line 57 of file timer.cpp.

Referenced by Timer::resume(), and Timer::start().

time_type operator- ( const time_type a,
const time_type b 
)

Definition at line 67 of file timer.cpp.

double time_to_msec ( time_type t  ) 

Definition at line 63 of file timer.cpp.


Generated on Tue Mar 30 15:53:23 2010 for Polyora by  doxygen 1.5.9