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:40639 Overhead: cpu secs:0 cpu usecs:40000 Measuring the overhead of clocktimer... Overhead: clock secs:49 clock usecs:843499 Overhead: cpu secs:49 cpu usecs:810000 Average times: clock secs:4.9e-05(=49 usecs) cpu secs:4.9e-05(=49 usecs) Measuring the overhead of cputimer... Overhead: clock secs:57 clock usecs:483837 Overhead: cpu secs:57 cpu usecs:440000 Average times: clock secs:5.7e-05(=57 usecs) cpu secs:5.7e-05(=57 usecs)