mongo::Timer Class Reference

#include <timer.h>

List of all members.

Public Member Functions

unsigned long long micros (unsigned long long &n) const
unsigned long long micros () const
int millis () const
void reset ()
int seconds () const
unsigned long long startTime ()
 Timer (unsigned long long start)
 Timer ()

Private Attributes

unsigned long long old

Detailed Description

simple scoped timer

Definition at line 27 of file timer.h.


Constructor & Destructor Documentation

mongo::Timer::Timer (  )  [inline]

Definition at line 29 of file timer.h.

mongo::Timer::Timer ( unsigned long long  start  )  [inline]

Definition at line 33 of file timer.h.


Member Function Documentation

unsigned long long mongo::Timer::micros ( unsigned long long &  n  )  const [inline]

Definition at line 50 of file timer.h.

unsigned long long mongo::Timer::micros (  )  const [inline]

Definition at line 45 of file timer.h.

int mongo::Timer::millis (  )  const [inline]

Definition at line 41 of file timer.h.

void mongo::Timer::reset (  )  [inline]

Definition at line 59 of file timer.h.

int mongo::Timer::seconds (  )  const [inline]

Definition at line 37 of file timer.h.

unsigned long long mongo::Timer::startTime (  )  [inline]

Definition at line 55 of file timer.h.


Member Data Documentation

unsigned long long mongo::Timer::old [private]

Definition at line 64 of file timer.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


mongodb
Author(s): Nate Koenig
autogenerated on Fri Jan 11 12:15:58 2013