[ecore_evas.c] add time stamp and change the frequency for FPS_DEBUG on
authorSeokjae Jeong <seok.j.jeong@samsung.com>
Sat, 13 Nov 2010 05:38:44 +0000 (14:38 +0900)
committerSeokjae Jeong <seok.j.jeong@samsung.com>
Sat, 13 Nov 2010 05:38:44 +0000 (14:38 +0900)
src/lib/ecore_evas/ecore_evas.c [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index ca1fdf2..9bd4673
@@ -2760,13 +2760,15 @@ _ecore_evas_fps_debug_rendertime_add(double t)
         rlapse = tim;
         flapse = frames;
      }
-   else if ((tim - rlapse) >= 0.5)
+   else if ((tim - rlapse) >= 0.1)
      {
+        printf("%.6f \t", tim);
         printf("FRAME: %i, FPS: %3.1f, RTIME %3.0f%%\n",
                frames,
                (frames - flapse) / (tim - rlapse),
                (100.0 * rtime) / (tim - rlapse)
                );
+        fflush(stdout);
         rlapse = tim;
         flapse = frames;
         rtime = 0.0;