Timer::TimeVar Class Reference

An actual sub-timer. More...

List of all members.

Public Member Functions

void start ()
 The task is started.
void start_child ()
 We activate a child.
void stop_child ()
 We just left a child.
void stop ()
 The task is left.
void clear ()
 Reset to 0.
bool operator< (const TimeVar &rhs) const
 Comparison between two TimeVars.
Comparison to 0.
Whether elapsed is not null.

 operator bool () const
bool operator! () const
 Whether elapsed is null.

Friends

class Timer
class Bencher


Detailed Description

An actual sub-timer.

Definition at line 189 of file timer.hh.


Member Function Documentation

bool operator< ( const TimeVar rhs  )  const

Comparison between two TimeVars.

This operators enables the use of std::min and std::max. It check only the total time, so it's a strict weak ordering.


Generated on Wed Jun 13 17:03:19 2007 for Vaucanson by  doxygen 1.5.1