Re: Bug in eu2c
- Posted by Robert Craig <rds at ATTCANADA.NET> Sep 11, 2000
- 400 views
Mic writes: >>Mic also reports a similar factor of ten error in the reported time. >>I assume he used DOS4GW too. > >Nope. I'm using CauseWay. >Wich leads us to the question: "does time() work the way it should?" I'm using WATCOM 10.6 where the value of CLOCKS_PER_SEC is 100. I wonder if WATCOM 11.0 defines CLOCKS_PER_SEC as 1000? Can someone check for #define CLOCKS_PER_SEC ... in \watcom\h\time.h? I get the time by dividing (double)clock() / CLOCKS_PER_SEC If clock() on 11.0 is returning a number 10x bigger than I expect, then that would explain the problem. I guess I should #include <time.h> to allow for any differences. Regards, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com