Changeset: 0763f40d575e for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=0763f40d575e
Modified Files:
        monetdb5/mal/mal_runtime.c
Branch: default
Log Message:

Fix total tick counter in profiler


diffs (11 lines):

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
@@ -88,6 +88,7 @@ runtimeProfileExit(Client cntxt, MalBlkP
                gettimeofday(&mb->profiler[stkpc].clock, NULL);
                mb->profiler[stkpc].counter++;
                mb->profiler[stkpc].ticks = GDKusec() - prof->newclk;
+               mb->profiler[stkpc].totalticks += mb->profiler[stkpc].ticks;
                mb->profiler[stkpc].clk += mb->profiler[stkpc].clk;
                if( stkpc){
                        mb->profiler[stkpc].rbytes= 
getVolume(stk,getInstrPtr(mb,stkpc),0);
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to