Memory-conserving changes to SHAMapTreeNode and visitLeavesInternal.

This commit is contained in:
JoelKatz
2013-12-05 22:43:07 -08:00
parent e6da61120a
commit 636d722e8d
9 changed files with 154 additions and 66 deletions

View File

@@ -2713,6 +2713,7 @@ Json::Value RPCHandler::doGetCounts (Json::Value params, Resource::Charge& loadT
ret["AL_hit_rate"] = AcceptedLedger::getCacheHitRate ();
ret["fullbelow_size"] = SHAMap::getFullBelowSize ();
ret["treenode_size"] = SHAMap::getTreeNodeSize ();
std::string uptime;
int s = UptimeTimer::getInstance ().getElapsedSeconds ();