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

Minor typo


diffs (19 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
@@ -139,13 +139,12 @@ runtimeProfileBegin(Client cntxt, MalBlk
                mb->profiler[stkpc].ticks = 0;
                mb->profiler[stkpc].clock = stk->clock;
                /* emit the instruction upon start as well */
-               if (malProfileMode)
-                       profilerEvent(cntxt->idx, mb, stk, stkpc, start);
+               profilerEvent(cntxt->idx, mb, stk, stkpc, start);
 #ifdef HAVE_TIMES
                times(&stk->timer);
                mb->profiler[stkpc].timer = stk->timer;
 #endif
-               mb->profiler[stkpc].clk = stk->clk;
+               mb->profiler[stkpc].clk = prof->newclk;
                MT_lock_unset(&mal_delayLock, "sysmon");
        }
 }
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to