mirror of
https://github.com/libretro/RetroArch
synced 2025-03-12 13:13:30 +00:00
Honor 'perfcnt_enable' in logging (#17022)
This commit is contained in:
parent
4b177d0ac7
commit
0c468f9a44
@ -395,6 +395,9 @@ void runloop_log_counters(
|
|||||||
|
|
||||||
static void runloop_perf_log(void)
|
static void runloop_perf_log(void)
|
||||||
{
|
{
|
||||||
|
if (!runloop_state.perfcnt_enable)
|
||||||
|
return;
|
||||||
|
|
||||||
RARCH_LOG("[PERF]: Performance counters (libretro):\n");
|
RARCH_LOG("[PERF]: Performance counters (libretro):\n");
|
||||||
runloop_log_counters(runloop_state.perf_counters_libretro,
|
runloop_log_counters(runloop_state.perf_counters_libretro,
|
||||||
runloop_state.perf_ptr_libretro);
|
runloop_state.perf_ptr_libretro);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user