mirror of
https://github.com/rwengine/openrw.git
synced 2024-09-18 16:32:32 +02:00
Improve benchmark output
This commit is contained in:
parent
61b47192c1
commit
4fc177d98a
@ -64,7 +64,8 @@ void BenchmarkState::exit()
|
||||
<< "Benchmark: " << benchfile << "\n"
|
||||
<< "Frames: " << frameCounter << "\n"
|
||||
<< "Duration: " << duration << " seconds\n"
|
||||
<< "Avg FPS: " << (frameCounter/duration) << std::endl;
|
||||
<< "Avg frametime: " << std::setprecision(3) << (duration/frameCounter)
|
||||
<< " (" << (frameCounter/duration) << " fps)" << std::endl;
|
||||
}
|
||||
|
||||
void BenchmarkState::tick(float dt)
|
||||
|
Loading…
Reference in New Issue
Block a user