A timer for various tasks.