Fullbelow cache improvements.

This commit is contained in:
JoelKatz
2013-06-10 21:53:50 -07:00
parent 5e0a1b23b5
commit 1bfaf652fc
3 changed files with 5 additions and 2 deletions

View File

@@ -2345,6 +2345,8 @@ Json::Value RPCHandler::doGetCounts(Json::Value jvRequest, int& cost, ScopedLock
ret["ledger_hit_rate"] = theApp->getLedgerMaster().getCacheHitRate();
ret["AL_hit_rate"] = AcceptedLedger::getCacheHitRate();
ret["fullbelow_size"] = SHAMap::getFullBelowSize();
std::string uptime;
int s = UptimeTimer::getInstance().getElapsedSeconds();
textTime(uptime, s, "year", 365*24*60*60);