Changeset: 4c647e8e6e0d for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/4c647e8e6e0d
Modified Files:
monetdb5/mal/mal.h
monetdb5/mal/mal_runtime.c
Branch: Sep2022
Log Message:
Backed out changeset d93b2e31f037: better not in release branch.
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
@@ -158,6 +158,7 @@ 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,6 +381,7 @@ 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]