Files Class List

Detailed Description

A stopwatch class that measures the CPU time of the current process.

#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 Member Functions

clock_data GetTime () const
 

Protected Attributes

clock_data startTime
 Keeps the starting time.