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

Method getUsableSize

cachelib/allocator/nvmcache/NvmCache.h:270–270  ·  view source on GitHub ↗

returns the size of the NVM space used for caching

Source from the content-addressed store, hash-verified

268
269 // returns the size of the NVM space used for caching
270 size_t getUsableSize() const noexcept { return navyCache_->getUsableSize(); }
271
272 bool updateMaxRateForDynamicRandomAP(uint64_t maxRate) {
273 return navyCache_->updateMaxRateForDynamicRandomAP(maxRate);

Callers 4

testItemSizeMethod · 0.45
getTotFragMemoryMethod · 0.45
getStorageSizeInNvmMethod · 0.45
TEST_FFunction · 0.45

Calls

no outgoing calls

Tested by 3

testItemSizeMethod · 0.36
getTotFragMemoryMethod · 0.36
TEST_FFunction · 0.36