The time Command (cont)
Things to note when interpreting time output:
- cpu times are measured by sampling
- may be different for each execution of the same program
- to overcome sampling variation - run several trials and average
- elapsed time depends on machine share
- if program gets greater share of the CPU, it finishes quicker
- different shells/Unixes have different format of
time output
|