C
Chris Hills
Nelu said:where CLOCKS_PER_SEC equals 1000000 this function will return the
same value approximately every 72 minutes".
If this is the case, I hope his program doesn't need 72 minutes to
complete.
In that case he's better off using a stop watch .
I once had a customer call me to say that after the upgrade to the new
version of a compiler/simulator (from several versions older) the
simulator was complete CRAP!!!
Apparently.... and this is absolutely true, he had been timing programs
running in the simulator with a stopwatch!!! In the new simulator the
timing was way out.
It appeared that on the particular PC he used with that particular
version of the simulator for his particular application the simulator
was running in approximate real time. SO he could time it +/- a second
with a stopwatch.
He now expected me to fix the new version of the simulator so that on
his new PC and OS it ran in real time like the old one. If I couldn't as
far as he was concerned it was broken and he wanted his money back!!!
That is not something I saw on the net, or happened to a friend... It
happened to me and I had to convince this "engineer" that his new
simulator was not broken because it did not run in real time.