Your assumption is wrong. Modern processors are multi-pipelined, and the proportional method of calculating time taken doesn't apply here.Casm wrote:In the early eighties the processor in a PC ran at 4.77MHz. So if you assume that a two core processor is the equivalent of a single core running at 4GHz, something which would take the modern processor 1 second would have taken an 8086 about a quarter of an hour.
In more general sense, consider this as an example:
1 second? Err... no. This explicitly depends on the code instruction model as well as the processor designation. If the code is exceptionally pipeline hostile, then it may take 1 second but if the code isn't, then the processor will complete it in just few micro seconds.A code takes 2000 seconds to run on 8086 clocked at 2 MHz.
How much time does it take to run under a Pentium 4 clocked at 2000 MHz?
Cheers.