Skip to content

Commit

Permalink
Set compute fps stats logging to debug level (libretro#16460)
Browse files Browse the repository at this point in the history
  • Loading branch information
sonninnos authored and Sunderland93 committed Dec 26, 2024
1 parent 298bb94 commit 3149b74
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions gfx/video_driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -747,7 +747,7 @@ void video_monitor_compute_fps_statistics(uint64_t
if (frame_time_count <
(2 * MEASURE_FRAME_TIME_SAMPLES_COUNT))
{
RARCH_LOG(
RARCH_DBG(
"[Video]: Does not have enough samples for monitor refresh rate"
" estimation. Requires to run for at least %u frames.\n",
2 * MEASURE_FRAME_TIME_SAMPLES_COUNT);
Expand All @@ -756,7 +756,8 @@ void video_monitor_compute_fps_statistics(uint64_t

if (video_monitor_fps_statistics(&avg_fps, &stddev, &samples))
{
RARCH_LOG("[Video]: Average monitor Hz: %.6f Hz. (%.3f %% frame time"
RARCH_DBG(
"[Video]: Average monitor Hz: %.6f Hz. (%.3f %% frame time"
" deviation, based on %u last samples).\n",
avg_fps, 100.0f * stddev, samples);
}
Expand Down

0 comments on commit 3149b74

Please sign in to comment.