KUIML
Blue Cat's User Interface Programming Language
GlobalNamespace::StopWatch Class Reference

A high precision stop watch to measure elapsed time. More...

Public Member Functions

void Start ()
 start the watch
 
void Stop ()
 stop the watch
 

Public Attributes

double elapsed
 time elapsed since last call to Start (ms)
 

Detailed Description

Elapsed time is in milliseconds, but its precision depends on the platform (usually precision should be close to a few microeconds).