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:55579 Overhead: cpu secs:0 cpu usecs:60000 Measuring the overhead of clocktimer... Overhead: clock secs:20 clock usecs:841964 Overhead: cpu secs:20 cpu usecs:840000 Average times: clock secs:2e-05(=20 usecs) cpu secs:2e-05(=20 usecs) Measuring the overhead of cputimer... Overhead: clock secs:7 clock usecs:858110 Overhead: cpu secs:7 cpu usecs:860000 Average times: clock secs:7e-06(=7 usecs) cpu secs:7e-06(=7 usecs)