summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-03-15 14:19:10 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2012-03-15 14:19:10 +0000
commit2a3a516c8bd804988e7501a4002535da64feb88a (patch)
tree38e955f9042021d9c0c63b44081e28c34a0f181c
parent4dc1878c29dcee43ebd2a395e53275b3a1fe3ebf (diff)
gears: Remove the periodic print of fps to the console
-rw-r--r--gears-demo.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/gears-demo.c b/gears-demo.c
index 7cdc4fe..7a5c781 100644
--- a/gears-demo.c
+++ b/gears-demo.c
@@ -273,17 +273,6 @@ int main (int argc, char **argv)
fb->show (fb);
fb->destroy (fb);
- if (benchmark < 0) {
- delta = now.tv_sec - last_tty.tv_sec;
- delta += (now.tv_usec - last_tty.tv_usec)*1e-6;
- frames++;
- if (delta > 5) {
- printf("%.2f fps\n", frames/delta);
- last_tty = now;
- frames = 0;
- }
- }
-
frame++;
if (benchmark > 0) {
delta = now.tv_sec - start.tv_sec;