Changeset: ded7439d5d6d for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=ded7439d5d6d Modified Files: monetdb5/modules/mal/xid.c Branch: xid Log Message:
Keep track of the clock It would illustrate how long an intermediate retains waiting for re-use diffs (25 lines): diff --git a/monetdb5/modules/mal/xid.c b/monetdb5/modules/mal/xid.c --- a/monetdb5/modules/mal/xid.c +++ b/monetdb5/modules/mal/xid.c @@ -241,8 +241,8 @@ XIDcompressCol( Client cntxt, InstrPtr p return msg; col[XID_IDX_ORIG].count = (xid)cnt; /* keep original size */ col[XID_IDX_COMP].count = (xid)(i+1); /* keep compression size */ - mnstr_printf(cntxt->fdout,"#xid, %d, %s compress, " BUNFMT "," BUNFMT ", %4.2f clk " LLFMT " usec\n", - getArg(pci,0), s, cnt, i, i/(cnt/100.0), GDKusec()-clk); + mnstr_printf(cntxt->fdout,"#xid, %d, %s compress, " BUNFMT "," BUNFMT ", %4.2f clk " LLFMT " sec " LLFMT " usec\n", + getArg(pci,0), s, cnt, i, i/(cnt/100.0), GDKusec()/1000/1000, GDKusec()-clk); cn->heap.xidcompressed = 1; } @@ -415,8 +415,8 @@ XIDdecompressCol( Client cntxt, InstrPtr msg = XIDdecode(&cnt,col,o,lim,cap); if (msg != MAL_SUCCEED) return msg; - mnstr_printf(cntxt->fdout,"#xid, %d, %s decompress, " BUNFMT ", " BUNFMT ", clk " LLFMT " usec\n", - getArg(pci,1), s, lim, cnt, GDKusec()-clk); + mnstr_printf(cntxt->fdout,"#xid, %d, %s decompress, " BUNFMT ", " BUNFMT ", clk " LLFMT " sec " LLFMT " usec\n", + getArg(pci,1), s, lim, cnt, GDKusec()/1000/1000, GDKusec()-clk); if (cnt != cap) throw(MAL, "xid.decompress", "decompressed %s count does not match original count: "BUNFMT" != "BUNFMT"", s, cnt, cap); _______________________________________________ Checkin-list mailing list Checkin-list@monetdb.org http://mail.monetdb.org/mailman/listinfo/checkin-list