Changeset: f95b938410b9 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=f95b938410b9
Modified Files:
sql/backends/monet5/sql_scenario.c
Branch: Jul2015
Log Message:
Reset the profiler table
The profiler table is emptied before the next trace is initiated.
Gathering statistics for multiple runs can be obtained by saving
the tracelog into another table.
diffs (11 lines):
diff --git a/sql/backends/monet5/sql_scenario.c
b/sql/backends/monet5/sql_scenario.c
--- a/sql/backends/monet5/sql_scenario.c
+++ b/sql/backends/monet5/sql_scenario.c
@@ -849,6 +849,7 @@ SQLsetTrace(backend *be, Client cntxt, b
(void) be;
if (onoff) {
+ newStmt(mb,"profiler","reset");
q= newStmt(mb, "profiler", "stethoscope");
(void) pushInt(mb,q,0);
} else {
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list