TPS calculation. (Engine::updateStatistics)