Changeset: 5660b6372c99 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=5660b6372c99
Modified Files:
        monetdb5/mal/mal_profiler.c
        monetdb5/mal/mal_runtime.c
Branch: default
Log Message:

Ignore calculation of wbytes
It is imprecise and not necessary for the profilers anymore.


diffs (35 lines):

diff --git a/monetdb5/mal/mal_profiler.c b/monetdb5/mal/mal_profiler.c
--- a/monetdb5/mal/mal_profiler.c
+++ b/monetdb5/mal/mal_profiler.c
@@ -153,7 +153,6 @@ renderProfilerEvent(MalBlkPtr mb, MalStk
                logadd("\"usec\":"LLFMT",%s", pci->ticks, prettify);
        }
        logadd("\"rss\":"SZFMT ",%s", MT_getrss()/1024/1024, prettify);
-       logadd("\"size\":"LLFMT ",%s", pci? pci->wbytes/1024/1024:0, prettify); 
// result size
 
 #ifdef NUMAprofiling
                logadd("\"numa\":[");
@@ -804,7 +803,7 @@ cachedProfilerEvent(MalBlkPtr mb, MalStk
        str stmt, c;
        lng clock;
        lng rssMB = MT_getrss()/1024/1024;
-       lng tmpspace = pci->wbytes/1024/1024;
+       lng tmpspace = 0;
        int errors = 0;
 
        clock = GDKusec();
diff --git a/monetdb5/mal/mal_runtime.c b/monetdb5/mal/mal_runtime.c
--- a/monetdb5/mal/mal_runtime.c
+++ b/monetdb5/mal/mal_runtime.c
@@ -210,10 +210,8 @@ runtimeProfileExit(Client cntxt, MalBlkP
        pci->totticks += pci->ticks;
        pci->calls++;
        
-       if(malProfileMode > 0 ){
-               pci->wbytes = getVolume(stk, pci, 1);
+       if(malProfileMode > 0 )
                profilerEvent(mb, stk, pci, FALSE, cntxt->username);
-       }
        if( malProfileMode < 0){
                /* delay profiling until you encounter start of MAL function */
                if( getInstrPtr(mb,0) == pci)
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to