Set compute fps stats logging to debug level (#16460)

This commit is contained in:
sonninnos 2024-04-23 19:53:35 +03:00 committed by GitHub
parent 6c303be476
commit 87a339c3c9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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);
@ -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);
}