1
0
Fork 0
forked from suyu/suyu
suyu/src/yuzu_cmd
ameerj 5bef54618a perf_stats: Rework FPS counter to be more accurate
The FPS counter was based on metrics in the nvdisp swapbuffers call. This metric would be accurate if the gpu thread/renderer were synchronous with the nvdisp service, but that's no longer the case.

This commit moves the frame counting responsibility onto the concrete renderers after their frame draw calls. Resulting in more meaningful metrics.
The displayed FPS is now made up of the average framerate between the previous and most recent update, in order to avoid distracting FPS counter updates when framerate is oscillating between close values.

The status bar update frequency was also changed from 2 seconds to 500ms.
2021-05-15 20:34:20 -04:00
..
emu_window perf_stats: Rework FPS counter to be more accurate 2021-05-15 20:34:20 -04:00
CMakeLists.txt yuzu_cmd: Remove unused resource.h 2021-04-22 22:25:49 -04:00
config.cpp general: Ignore implicit-fallthrough for SDL.h 2021-04-18 01:31:26 -04:00
config.h Massive removal of unused modules 2018-01-12 19:11:03 -07:00
default_ini.h core: settings: Add setting for debug assertions and disable by default. 2021-04-14 16:24:02 -07:00
yuzu.cpp hle: kernel: Rename Process to KProcess. 2021-05-05 16:40:52 -07:00
yuzu.rc Fix: fatal error CVT1100 when compiling manifest file 2020-06-21 03:11:23 +02:00