www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - std.perf

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 :(
Nov 19 2006