yuzu-tx-update/src/core/hle
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
..
kernel Merge pull request #6291 from lioncash/kern-shadow 2021-05-09 20:15:00 -07:00
service perf_stats: Rework FPS counter to be more accurate 2021-05-15 20:34:20 -04:00
ipc.h core: Silence Wclass-memaccess warnings 2021-01-15 16:31:19 -03:00
ipc_helpers.h kernel: Eliminate variable shadowing 2021-05-08 12:33:26 -04:00
lock.cpp Fix build on macOS and linux 2018-01-13 22:38:52 +00:00
lock.h Use recursive_mutex instead of mutex to fix #2902 2017-08-29 20:39:55 +12:00
result.h audio_core: Make shadowing and unused parameters errors 2020-12-03 00:54:31 -05:00