Public Member Functions

Timer Class Reference

A SIMPLE CLASS FOR TIME MEASUREMENTS. More...

#include <Timer.h>

List of all members.

Public Member Functions

 Timer ()
 The default constructor.
void reset ()
 Resets the timer value to zero and stops the measurement.
void mark ()
 Mark the current point in time (to be considered by next usecs_since_mark).
void start ()
 Resets the timer value to zero and starts the measurement.
void cont ()
 Continues the measurement without resetting the timer value (no effect if running).
void stop ()
 Stops the measurement (does *not* return the timer value anymore).
void setUsecs (off_t usecs)
void setMsecs (off_t msecs)
void setSecs (off_t secs)
off_t value () const
 Time at last stop (initially zero).
off_t usecs () const
off_t msecs () const
float secs () const
off_t usecs_since_mark () const
 Time from last mark to last stop (initally zero).

Detailed Description

A SIMPLE CLASS FOR TIME MEASUREMENTS.


The documentation for this class was generated from the following file:
 All Classes Functions