]> git.cworth.org Git - fips/commitdiff
Print reports every 15 frames rather than every 60
authorCarl Worth <cworth@cworth.org>
Thu, 31 Oct 2013 22:39:55 +0000 (15:39 -0700)
committerCarl Worth <cworth@cworth.org>
Thu, 31 Oct 2013 22:39:55 +0000 (15:39 -0700)
This really should be a command-line value (or environement variable)
of course.

metrics.c

index 0409c9e2cde0b9030903cc72f6e140ee566bd1af..eede09b3729886fcdff33780b416b832130e0c51 100644 (file)
--- 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 +