Timer Class Reference

#include <timer.h>

List of all members.

Public Member Functions

 Timer ()
void start (const char *msg=0)
void check (const char *msg=0)
double get_elapsed_time ()

Friends

std::ostream & operator<< (std::ostream &os, Timer &t)


Detailed Description

Definition at line 9 of file timer.h.


Constructor & Destructor Documentation

Timer::Timer (  )  [inline]

Definition at line 25 of file timer.h.


Member Function Documentation

void Timer::check ( const char *  msg = 0  ) 

Definition at line 89 of file timer.cpp.

References VERBOSE.

Referenced by PrintUserTime().

Here is the caller graph for this function:

double Timer::get_elapsed_time (  ) 

Definition at line 28 of file timer.cpp.

Referenced by GetUserTime().

Here is the caller graph for this function:

void Timer::start ( const char *  msg = 0  ) 

Definition at line 37 of file timer.cpp.

References VERBOSE.

Referenced by ResetUserTime().

Here is the caller graph for this function:


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
Timer t 
) [friend]

Definition at line 102 of file timer.cpp.


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

Generated on Wed Oct 1 00:31:05 2014 for Moses by  doxygen 1.5.9