projects
/
fips
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e158c5b
)
Print reports every 15 frames rather than every 60
author
Carl Worth
<cworth@cworth.org>
Thu, 31 Oct 2013 22:39:55 +0000
(15:39 -0700)
committer
Carl 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
patch
|
blob
|
history
diff --git
a/metrics.c
b/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 +