Update of /cvsroot/monetdb/pathfinder/compiler/mil
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv2373/mil
Modified Files:
Tag: xquery-decomposition
milprint_summer.c
Log Message:
enable printing timing for xrpc server
Index: milprint_summer.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/mil/milprint_summer.c,v
retrieving revision 1.409.2.10
retrieving revision 1.409.2.11
diff -u -d -r1.409.2.10 -r1.409.2.11
--- milprint_summer.c 10 Mar 2008 01:55:31 -0000 1.409.2.10
+++ milprint_summer.c 14 Mar 2008 12:03:40 -0000 1.409.2.11
@@ -11778,10 +11778,10 @@
" ws_destroy(ws);\n"\
"}}\n"\
PF_STOP_PFTIJAH\
+ "time_print := usec() - time_print;\n"\
"if (not(isnil(err))) {\n"\
" ERROR(err);\n"\
"} else if (genType.startsWith(\"timing\")) {\n"\
- " time_print := usec() - time_print;\n"\
" printf(\"\\nTrans %% 10.3f msec\\nShred %% 10.3f msec\\nQuery
%% 10.3f msec\\n" LASTPHASE " %% 10.3f msec\\n\","\
" dbl(time_compile)/1000.0, dbl(time_shred)/1000.0,
dbl(time_exec - time_shred)/1000.0, time_print/1000.0);\n}"
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins