mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
Honor 'perfcnt_enable' in logging (#17022)
This commit is contained in:
parent
4b177d0ac7
commit
0c468f9a44
1 changed files with 3 additions and 0 deletions
|
@ -395,6 +395,9 @@ void runloop_log_counters(
|
|||
|
||||
static void runloop_perf_log(void)
|
||||
{
|
||||
if (!runloop_state.perfcnt_enable)
|
||||
return;
|
||||
|
||||
RARCH_LOG("[PERF]: Performance counters (libretro):\n");
|
||||
runloop_log_counters(runloop_state.perf_counters_libretro,
|
||||
runloop_state.perf_ptr_libretro);
|
||||
|
|
Loading…
Add table
Reference in a new issue