track fps and cpu.