A small collection of timing functionality useful for games