rutz::stopwatch Class Reference

Tracks elapsed wall-clock time. More...

#include <rutz/stopwatch.h>

Collaboration diagram for rutz::stopwatch:

Collaboration graph

List of all members.

Public Member Functions

 stopwatch ()
 Default constructor.
void restart ()
 Reset the start time to the current time.
rutz::time elapsed (const rutz::time &stop) const
 Get the time elapsed between start and stop times.
rutz::time elapsed () const
 Get the time elapsed between start and now.

Detailed Description

Tracks elapsed wall-clock time.

Definition at line 45 of file stopwatch.h.

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

The software described here is Copyright (c) 1998-2005, Rob Peters.
This page was generated Wed Dec 3 06:56:46 2008 by Doxygen version 1.5.5.