Timer Class Reference

#include <k_best.h>

List of all members.

Public Member Functions

void tic (int t=0)
 Timer ()
double toc (int t=0)
double toMiliseconds (int t=0)
double value (int t=0)
 ~Timer ()

Public Attributes

map< int, bool > active
map< int, timeval > timers
map< int, double > values

Detailed Description

Definition at line 102 of file k_best.h.


Constructor & Destructor Documentation

Timer::Timer (  )  [inline]

Definition at line 115 of file k_best.h.

Timer::~Timer (  )  [inline]

Definition at line 119 of file k_best.h.


Member Function Documentation

void Timer::tic ( int  t = 0  )  [inline]

Definition at line 126 of file k_best.h.

double Timer::toc ( int  t = 0  )  [inline]

Definition at line 140 of file k_best.h.

double Timer::toMiliseconds ( int  t = 0  )  [inline]

Definition at line 159 of file k_best.h.

double Timer::value ( int  t = 0  )  [inline]

Definition at line 164 of file k_best.h.


Member Data Documentation

map<int,bool> Timer::active

Definition at line 110 of file k_best.h.

map<int,timeval> Timer::timers

Definition at line 107 of file k_best.h.

map<int,double> Timer::values

Definition at line 113 of file k_best.h.


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


mtt
Author(s): Jorge Almeida
autogenerated on Wed Jul 23 04:34:58 2014