Lightweight timer utility for timing things like sections of code.