This program measures the overhead in using the timer classes "cputimer" and "clocktimer" all measurements are made 1000000 times... Measuring the overhead of the 1000000-loop... Overhead: clock secs:0 clock usecs:51093 Overhead: cpu secs:0 cpu usecs:50000 Measuring the overhead of clocktimer... Overhead: clock secs:12 clock usecs:140469 Overhead: cpu secs:12 cpu usecs:140000 Average times: clock secs:1.2e-05(=12 usecs) cpu secs:1.2e-05(=12 usecs) Measuring the overhead of cputimer... Overhead: clock secs:23 clock usecs:993865 Overhead: cpu secs:21 cpu usecs:890000 Average times: clock secs:2.3e-05(=23 usecs) cpu secs:2.1e-05(=21 usecs)