Update of /cvsroot/monetdb/pathfinder/runtime
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv23288
Modified Files:
Tag: XQuery_0-16
xrpc_server.mx xrpc_client.mx
Log Message:
small changes in the way XRPC print timing info. they are now printed
in more logical order
Index: xrpc_client.mx
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/runtime/xrpc_client.mx,v
retrieving revision 1.6.2.7
retrieving revision 1.6.2.8
diff -u -d -r1.6.2.7 -r1.6.2.8
--- xrpc_client.mx 26 Feb 2007 17:26:11 -0000 1.6.2.7
+++ xrpc_client.mx 27 Feb 2007 17:40:29 -0000 1.6.2.8
@@ -437,7 +437,7 @@
time_xrpcClntDeSeria := usec() - time_xrpcClntDeSeria;
if (options.search("timing") >= 0) {
- printf("XRPC_Client_DeSerialisation: %lld microsec\n\n",
+ printf("XRPC_Client_DeSerialisation: %lld microsec\n",
time_xrpcClntDeSeria);
}
@@ -1156,15 +1156,11 @@
stream_printf(GDKout,
"XRPC_Client_Serialisation: %lld microsec\n"
"XRPC_Network_Client_2_Server: %lld microsec\n"
- "XRPC_Client_DeSerialisation: %lld microsec\n"
- "\n"
- "XRPC_Data_Sent: " SZFMT " bytes\n"
- "XRPC_Data_Received: " SZFMT " bytes\n\n",
+ "XRPC_Data_Sent/Received: " SZFMT " / "
+ SZFMT " bytes\n\n",
time_xrpcClntSeria,
time_xrpcClnt2Serv,
- time_xrpcClntDeSeria,
- bytes_sent,
- bytes_received);
+ bytes_sent, bytes_received);
}
if( (ptr+= 2) && strstr(ptr, "XRPC_Server_Timing") ){
@@ -1173,6 +1169,12 @@
stream_printf(GDKout, "\n");
}
+ if (options && strstr(options, "timing")) {
+ stream_printf(GDKout,
+ "XRPC_Client_DeSerialisation: %lld microsec\n",
+ time_xrpcClntDeSeria);
+ }
+
clean_up(sock, in, out, bs, b, argcnt, iterc);
*res = shredBAT;
return GDK_SUCCEED;
Index: xrpc_server.mx
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/runtime/xrpc_server.mx,v
retrieving revision 1.7.2.12
retrieving revision 1.7.2.13
diff -u -d -r1.7.2.12 -r1.7.2.13
--- xrpc_server.mx 26 Feb 2007 17:26:12 -0000 1.7.2.12
+++ xrpc_server.mx 27 Feb 2007 17:40:28 -0000 1.7.2.13
@@ -1017,7 +1017,7 @@
if (timing) {
stream_printf(GDKout,
- "XRPC_Server_DeSerialisation: %lld microsec\n",
+ "XRPC_Server_DeSerialisation: %lld microsec\n",
time_xrpcServDeSeria);
}
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins