Update of /cvsroot/monetdb/pathfinder/compiler
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv24584

Modified Files:
      Tag: May2009
        compile.c 
Log Message:
-- Fix timing information for XML plan import.


U compile.c
Index: compile.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/compile.c,v
retrieving revision 1.177.2.2
retrieving revision 1.177.2.3
diff -u -d -r1.177.2.2 -r1.177.2.3
--- compile.c   14 Jul 2009 15:58:00 -0000      1.177.2.2
+++ compile.c   17 Jul 2009 07:43:39 -0000      1.177.2.3
@@ -351,9 +351,11 @@
     /*******************************************/
     if (status->import_xml) {
 
-       /* todo: init-stuff */
-       /* e.g. qnameInit */
-       /* e.g namespaceInit */
+        tm_first = tm = PFtimer_start ();
+
+        /* todo: init-stuff */
+        /* e.g. qnameInit */
+        /* e.g namespaceInit */
 
         XML2LALGContext *ctx = PFxml2la_xml2lalgContext();
 
@@ -404,6 +406,11 @@
            lapb = NULL;
         }
 
+        tm = PFtimer_stop (tm);
+
+        if (status->timing)
+            PFlog ("XML algebra plan import:\t\t %s", PFtimer_str (tm));
+
         goto AFTER_CORE2ALG;
     }
 


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to