Enlightenment CVS committal

Author  : onefang
Project : e17
Module  : libs/ecore

Dir     : e17/libs/ecore/src/lib/ecore_desktop


Modified Files:
        ecore_desktop.c 


Log Message:
Disable the instrumentation output.

===================================================================
RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore_desktop/ecore_desktop.c,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -3 -r1.67 -r1.68
--- ecore_desktop.c     12 Nov 2006 14:53:57 -0000      1.67
+++ ecore_desktop.c     13 Nov 2006 14:35:37 -0000      1.68
@@ -1167,14 +1167,17 @@
    instrumentation.icons_time = 0.0;
    instrumentation.icons_in_cache_time = 0.0;
    instrumentation.icons_not_found_time = 0.0;
+#ifdef DEBUG
    printf("vvvvvvvvvvvvvvvvvvvvvvvvvvvvvv\n");
    printf("Desktop instrumentation reset.\n");
    printf("^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n");
+#endif
 }
 
 EAPI void
 ecore_desktop_instrumentation_print(void)
 {
+#ifdef DEBUG
    if ((instrumentation.desktops + instrumentation.desktops_in_cache + 
instrumentation.desktops_not_found + instrumentation.icons + 
instrumentation.icons_in_cache + instrumentation.icons_not_found) > 0)
      {
         
printf("vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv\n");
@@ -1186,4 +1189,5 @@
         printf("Not found %5d icons             %2.5f (%2.6f/icon)\n", 
instrumentation.icons_not_found, instrumentation.icons_not_found_time, 
instrumentation.icons_not_found_time / instrumentation.icons_not_found);
         
printf("^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n");
      }
+#endif
 }



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to