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

@@ -125,7 +125,8 @@ public:
std::list<fetchPackEntry_t> getFetchPack(SHAMap* have, bool includeLeaves, int max);
static void sweep() { fullBelowCache.sweep(); }
static int getFullBelowSize() { return fullBelowCache.getSize(); }
static void sweep() { fullBelowCache.sweep(); }
private:
static KeyCache <uint256, UptimeTimerAdapter> fullBelowCache;