MCPcopy Create free account
hub / github.com/facebook/CacheLib / updatePoolStats

Method updatePoolStats

cachelib/allocator/Cache.cpp:91–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89}
90
91void CacheBase::updatePoolStats(const std::string& statPrefix,
92 PoolId pid) const {
93 const PoolStats stats = getPoolStats(pid);
94 updatePoolStats(statPrefix, stats);
95}
96
97void CacheBase::updatePoolStats(const std::string& statPrefix,
98 const PoolStats& stats) const {

Callers

nothing calls this directly

Calls 15

updateCountMethod · 0.80
updateDeltaMethod · 0.80
numAllocAttemptsMethod · 0.80
numAllocFailuresMethod · 0.80
numActiveAllocsMethod · 0.80
getDeltaMethod · 0.80
freeMemoryBytesMethod · 0.80
allocatedSlabsMethod · 0.80
totalFragmentationMethod · 0.80
minEvictionAgeMethod · 0.80
maxEvictionAgeMethod · 0.80
numFreeAllocsMethod · 0.45

Tested by

no test coverage detected