Format trace memory/time numbers