Extract a standalone timer util.