From 40729d306204edbc29675e78b5641efe19566dd7 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Thu, 31 Oct 2013 15:39:55 -0700 Subject: [PATCH] Print reports every 15 frames rather than every 60 This really should be a command-line value (or environement variable) of course. --- metrics.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metrics.c b/metrics.c index 0409c9e..eede09b 100644 --- a/metrics.c +++ b/metrics.c @@ -909,7 +909,7 @@ metrics_end_frame (void) monitor = ctx->monitor_head; } - if (frames % 60 == 0) { + if (frames % 15 == 0) { double fps; fps = (double) frames / (tv_now.tv_sec - tv_start.tv_sec + -- 2.43.0