Enlightenment CVS committal

Author  : metrics
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_apps.c 


Log Message:
#if DEBUG noisy printf's with onefang's permission. :)

===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_apps.c,v
retrieving revision 1.242
retrieving revision 1.243
diff -u -3 -r1.242 -r1.243
--- e_apps.c    5 Nov 2006 05:09:55 -0000       1.242
+++ e_apps.c    8 Nov 2006 11:19:30 -0000       1.243
@@ -162,7 +162,9 @@
          }
         ecore_list_destroy(_e_apps_all_filenames);
      }
+#if DEBUG
    printf("INITIAL APP SCAN %3.3f\n", ecore_time_get() - begin);
+#endif
    ecore_desktop_instrumentation_print();
    ecore_desktop_instrumentation_reset();
    _e_apps_hash_idler.begin = ecore_time_get();
@@ -212,10 +214,12 @@
      }
    if (idler->apps == NULL)
      {
+#if DEBUG
         printf("\nIDLE APP FILLING SCAN %3.3f\n", ecore_time_get() - 
idler->begin);
 #if CLEVER_BORDERS
         printf("APP BORDER SETUP %3.6f (average %2.6f) %d globs\n", 
border_setup_time, border_setup_time / border_setup_count, glob_count);
 #endif
+#endif
        idler->idler = NULL;
         ecore_desktop_instrumentation_print();
         return 0;
@@ -1464,6 +1468,7 @@
    border_count++;
    border_time += time;
    border_clever_time += clever_time;
+#if DEBUG
 #if CLEVER_BORDERS && OLD_BORDERS
    printf("APP BORDER SCAN NEW - %2.6f, OLD - %2.6f (average %2.6f, %2.6f) 
FOUND %s AND %s\n",
           clever_time, time, border_clever_time / border_count, border_time / 
border_count, 
@@ -1478,6 +1483,7 @@
    printf("APP BORDER SCAN OLD - %2.6f (average %2.6f) FOUND %s\n",
           time, border_time / border_count, 
          ((a_match == NULL) ? "NOTHING" : a_match->path));
+#endif
 #endif
 #endif
    return a_match;



-------------------------------------------------------------------------
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