Commit 0905fe84 authored by Adam P. Goucher's avatar Adam P. Goucher

More accurate reporting of GC effect

parent 5f00db1d
......@@ -50,7 +50,8 @@ namespace apg {
this->htree.gc_full();
biresults.gc_traverse(false);
biresults.gc_traverse(true);
std::cerr << "Size reduced from " << oldsize << " to " << this->htree.total_bytes() << " bytes." << std::endl;
uint64_t newsize = this->htree.total_bytes() + biresults.total_bytes();
std::cerr << "Size reduced from " << oldsize << " to " << newsize << " bytes." << std::endl;
return true;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment