Changeset: 6dec6b6fba21 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=6dec6b6fba21
Modified Files:
monetdb5/mal/mal_profiler.c
Branch: default
Log Message:
Minor fixes
diffs (34 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
@@ -253,18 +253,18 @@ This information can be used to determin
#ifdef MALARGUMENTDETAILS
// Also show details of the arguments for modelling
if(mb){
- logadd("\"result\":[");
+ logadd("\"res\":[");
for( j=0; j< pci->argc; j++){
int tpe = getVarType(mb, getArg(pci,j));
str tname = 0, cv;
lng total = 0;
BUN cnt = 0;
- str kind;
+ str kind="";
str pret = ""; // or prettify
int p = getPC(mb,pci);
if( j == pci->retc ){
- logadd("],%s\"arguments\":[",prettify);
+ logadd("],%s\"arg\":[",prettify);
}
logadd("{");
logadd("\"clk\":"LLFMT",%s",usec,pret);
@@ -283,7 +283,7 @@ This information can be used to determin
if ( d->T->vheap &&
d->T->vheap->parentid ){
total +=
heapinfo(d->T->vheap);
}
- kind = d->batPersistence?
"persistent":"transient";
+ kind = d->batPersistence ==
PERSISTENT? "persistent":"transient";
BBPunfix(d->batCacheid);
}
logadd("\"count\":\""BUNFMT"\",%s",cnt,pret);
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list