Legacy apps in Windows/OS X was Re: Old MS-DOS & Win Software
bfranchuk at jetnet.ab.ca
Thu Dec 8 19:33:25 CST 2005
Chuck Guzis wrote:
>Write a loop that executes, oh, 10,000,000 times. Get a stopwatch.
>Start the program and the stopwatch simultaneously, stop the stopwatch when
>the loop ends.
Hmm I need a real PC and a real StopWatch! The watch could be hard to find
since they don't make mechanical ones anymore.
>Calculate the average time per instruction as (time to
>execute/(10,000,000*number of instructions in loop)
The XT can only loop $FFFF times. :D
More information about the cctech