Update of /cvsroot/monetdb/MonetDB5/src/mal
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv14314

Modified Files:
        mal_interpreter.mx 
Log Message:
Make sure we get the physical io counts when we request it.
Even if there is no IO involved.


Index: mal_interpreter.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/mal/mal_interpreter.mx,v
retrieving revision 1.195
retrieving revision 1.196
diff -u -d -r1.195 -r1.196
--- mal_interpreter.mx  4 Sep 2007 07:40:35 -0000       1.195
+++ mal_interpreter.mx  10 Sep 2007 21:37:05 -0000      1.196
@@ -1576,13 +1576,10 @@
        if( cntxt-> flags & ioFlag){
                struct  rusage resource;
                getrusage(RUSAGE_SELF, &resource);
-               if(     resource.ru_inblock - oldinblock 
-                ||     resource.ru_oublock - oldoublock ) {
-                       stream_printf(cntxt->fdout," %3d R",
-                               resource.ru_inblock- oldinblock);
-                       stream_printf(cntxt->fdout," %3d W ",
-                               resource.ru_oublock- oldoublock);
-               }
+               stream_printf(cntxt->fdout," %3d R",
+                       resource.ru_inblock- oldinblock);
+               stream_printf(cntxt->fdout," %3d W ",
+                       resource.ru_oublock- oldoublock);
        }
 #endif
        if( cntxt->flags & memoryFlag){


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins

Reply via email to