Changeset: 9225703c47e2 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/9225703c47e2
Modified Files:
        monetdb5/mal/mal.h
        monetdb5/mal/mal_runtime.c
Branch: default
Log Message:

Removed unused field totticks from InstrRecord.


diffs (22 lines):

diff --git a/monetdb5/mal/mal.h b/monetdb5/mal/mal.h
--- a/monetdb5/mal/mal.h
+++ b/monetdb5/mal/mal.h
@@ -153,7 +153,6 @@ typedef struct {
        /* inline statistics */
        lng clock;                                      /* when the last call 
was started */
        lng ticks;                                      /* total micro seconds 
spent in last call */
-       lng totticks;                           /* total time spent on this 
instruction. */
        lng wbytes;                                     /* number of bytes 
produced in last instruction */
        /* the core admin */
        const char *modname;            /* module context, reference into 
namespace */
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
@@ -381,7 +381,6 @@ runtimeProfileExit(Client cntxt, MalBlkP
        /* always collect the MAL instruction execution time */
        pci->clock = ticks;
        pci->ticks = ticks - prof->ticks;
-       pci->totticks += pci->ticks;
 
        if (profilerStatus > 0 )
                profilerEvent(&(struct MalEvent) {cntxt, mb, stk, pci},
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to