Files Class List

Detailed Description

Simple stopwatch class.

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

#include <cyTimer.h>

Public Member Functions

void Start ()
 Starts the timer.
double Stop () const
 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.

Protected Attributes

clock_t startTime
 Keeps the starting time.