Next | Making Programs Faster | 16 |
If a program needs to do a certain amount of computation, that consumes a certain amount of CPU time
The amount of CPU time will probably not vary too much for a particular task
However, wallclock measurements can vary a lot from one run to another
It all depends on what else is going on at the same time
The amount of wallclock time might vary enormously
Variations might be unrelated to the program you are examining
For this reason we tend to concentrate on measuring CPU, which is easier
Next | Copyright © 2003 M. J. Dominus |