Changeset: b0df99a4dd23 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=b0df99a4dd23
Modified Files:
monetdb5/mal/mal_profiler.c
Branch: default
Log Message:
Reduce memory to report in MB
it is now aligned with the flow claim representation.
Together they provide insight in the observed and
estimated memory footprint of the plans
diffs (12 lines):
diff --git a/monetdb5/mal/mal_profiler.c b/monetdb5/mal/mal_profiler.c
--- a/monetdb5/mal/mal_profiler.c
+++ b/monetdb5/mal/mal_profiler.c
@@ -362,7 +362,7 @@ offlineProfilerEvent(int idx, MalBlkPtr
#endif
if (profileCounter[PROFmemory].status && delayswitch < 0) {
- log(SZFMT ",\t", MT_getrss());
+ log(SZFMT ",\t", MT_getrss()/1024/1024);
/*
#ifdef HAVE_SYS_RESOURCE_H
log("%ld,\t", infoUsage.ru_maxrss);
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list