simple tool to time bits of game code