From: Carl Worth Date: Thu, 31 Oct 2013 22:39:55 +0000 (-0700) Subject: Print reports every 15 frames rather than every 60 X-Git-Url: https://git.cworth.org/git?p=fips;a=commitdiff_plain;h=40729d306204edbc29675e78b5641efe19566dd7 Print reports every 15 frames rather than every 60 This really should be a command-line value (or environement variable) of course. --- 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 +