std.perf

nobody_ spam at spam.spam
Sun Nov 19 11:16:51 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 I only get some 'random number :(





More information about the Digitalmars-d-learn mailing list