realtime HighPerformanceCounter information

nobody_ spam at spam.spam
Tue Nov 21 11:39:59 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 :( 





More information about the Digitalmars-d-learn mailing list