realtime HighPerformanceCounter information

nobody_ spam at spam.spam
Tue Nov 21 17:12:11 PST 2006


>> 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?

I hoped to use it for timing my main loop :) 





More information about the Digitalmars-d-learn mailing list