Public Member Functions | Private Attributes

timer Class Reference

#include <timer.hh>

List of all members.

Public Member Functions

float lenght ()
float lenght ()
void start ()
void start ()
void stop ()
void stop ()

Private Attributes

clock_t end_
float len
clock_t start_

Detailed Description

Definition at line 51 of file median_bench.cc.


Member Function Documentation

float timer::lenght (  )  [inline]

Definition at line 65 of file median_bench.cc.

float timer::lenght (  )  [inline]

Definition at line 45 of file tests/timer.hh.

References start_.

void timer::start (  )  [inline]

Definition at line 34 of file tests/timer.hh.

References start_.

void timer::start (  )  [inline]

Definition at line 54 of file median_bench.cc.

void timer::stop (  )  [inline]

Definition at line 59 of file median_bench.cc.

void timer::stop (  )  [inline]

Definition at line 39 of file tests/timer.hh.

References end_, len, and start_.


Member Data Documentation

clock_t timer::end_ [private]

Definition at line 72 of file median_bench.cc.

Referenced by stop().

float timer::len [private]

Definition at line 73 of file median_bench.cc.

Referenced by stop().

clock_t timer::start_ [private]

Definition at line 71 of file median_bench.cc.

Referenced by lenght(), start(), and stop().