Enlightenment CVS committal

Author  : onefang
Project : e17
Module  : libs/ecore

Dir     : e17/libs/ecore/examples


Modified Files:
        exe_example.c 


Log Message:
Doh! Should double the reported throughput, since it measures the bytes in 
both directions.  The reported speed in the last commit message I doubled 
manually, so it is correct.

NOTE - write speed is hard to time, as it happens asynchronously.

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/examples/exe_example.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- exe_example.c       1 Jan 2006 17:20:33 -0000       1.4
+++ exe_example.c       1 Jan 2006 17:25:17 -0000       1.5
@@ -67,7 +67,7 @@
    if (data_count >= size)
       {
          now = ecore_time_get();
-        printf("\n\nApproximate data rate - %f bytes/second (%d lines and %d 
bytes in %f seconds).\n", ((double) data_count) / (now - then), line_count, 
data_count, now - then);
+        printf("\n\nApproximate data rate - %f bytes/second (%d lines and %d 
bytes (x2) in %f seconds).\n", ((double) data_count * 2.0) / (now - then), 
line_count, data_count, now - then);
         if (data_count != size)
            printf("Size discrepency of %d bytes.\n", size - data_count);
          printf("\n");




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to