realtime HighPerformanceCounter information

Chad J gamerChad at _spamIsBad_gmail.com
Tue Nov 21 16:29:00 PST 2006


nobody_ wrote:
> Is it possible to get timing information before stopping a timer?
> 
> Something like this:
> 
> HighPerformanceCounter c = new HighPerformanceCounter();
> c.start();
> while(c.microseconds()<1000){
> pauze();
> }
> c.stop();
> 
> When I do this now, c.microseconds() returns some 'random number :( 
> 
> 

I'm curious, why do you need to keep the timer running?



More information about the Digitalmars-d-learn mailing list