CVSROOT: /cvsroot/gnash
Module name: gnash
Changes by: Udo Giacomozzi <udog> 07/07/03 08:40:56
Modified files:
. : ChangeLog
gui : gui.cpp
Log message:
add total play time
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3647&r2=1.3648
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gui.cpp?cvsroot=gnash&r1=1.86&r2=1.87
Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/gnash/gnash/ChangeLog,v
retrieving revision 1.3647
retrieving revision 1.3648
diff -u -b -r1.3647 -r1.3648
--- ChangeLog 3 Jul 2007 08:07:07 -0000 1.3647
+++ ChangeLog 3 Jul 2007 08:40:56 -0000 1.3648
@@ -1,6 +1,6 @@
2007-07-03 Udo Giacomozzi <[EMAIL PROTECTED]>
- * gui/gui.{cpp,h}: add min/avg/max fps printing
+ * gui/gui.{cpp,h}: add min/avg/max fps printing and total play time
2007-07-03 Sandro Santilli <[EMAIL PROTECTED]>
Index: gui/gui.cpp
===================================================================
RCS file: /cvsroot/gnash/gnash/gui/gui.cpp,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -b -r1.86 -r1.87
--- gui/gui.cpp 3 Jul 2007 08:07:07 -0000 1.86
+++ gui/gui.cpp 3 Jul 2007 08:40:56 -0000 1.87
@@ -616,8 +616,8 @@
//log_msg("Effective frame rate: %0.2f fps", (float)(fps_counter/secs));
printf("Effective frame rate: %0.2f fps (min %0.2f, avg %0.2f, max %0.2f, "
- "%u frames total)\n", rate, fps_rate_min, avg, fps_rate_max,
- fps_counter_total);
+ "%u frames in %0.1f secs total)\n", rate, fps_rate_min, avg,
fps_rate_max,
+ fps_counter_total, (current_timer - fps_start_timer)/1000.0);
fps_counter = 0;
fps_timer = current_timer;
_______________________________________________
Gnash-commit mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-commit