Visit Cem Yuksel's web site

Files

Class List

Class Members

Class Hierarchy

cyTimer Class Reference

#include <cyTimer.h>

List of all members.


Detailed Description

Simple stopwatch class.

Use this class to measure the time between Start and Stop calls.


Public Member Functions

void Start ()
 Starts the timer.
double Stop () const
 Returns the time passed since Start call in seconds.

Protected Attributes

double startTime


Member Function Documentation

double Stop  )  const [inline]
 

Returns the time passed since Start call in seconds.

Note that this method does not actually stop the timer, it only returns the time passed since Start call. Therefore, you can call this method as many times as you like once you call Start method once.

Visit Cem Yuksel's website!