NetBurner 3.5.0
PDF Version
 
Stopwatch Timer

Classes

class  StopWatch
 Stopwatch for timing events. More...
 

Detailed Description

#include< stopwatch.h >

The StopWatch class can be used to create a StopWatch object that can time events. Please refer to the Stopwatch example in \nburn\examples

Example

StopWatch myStopwatch;
myStopwatch.Start();
for ( volatile int i = 0; i < numLoop; i++ )
{
count++;
}
myStopwatch.Stop();
Stopwatch for timing events.
Definition stopwatch.h:47
unsigned long long Stop()
Stop the StopWatch.
void Start()
Start the stopwatch.
See also
Interval Timer
High Resolution Delay Timer
OSTimeDly()