gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] gnash ChangeLog gui/gui.cpp


From: Udo Giacomozzi
Subject: [Gnash-commit] gnash ChangeLog gui/gui.cpp
Date: Tue, 03 Jul 2007 08:40:56 +0000

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 <address@hidden>
 
-       * 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 <address@hidden>
 

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;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]