MCPcopy Create free account
hub / github.com/apple/foundationdb / getSizeUsed

Method getSizeUsed

fdbserver/VersionedBTree.actor.cpp:1947–1947  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1945 int64_t getCountUsed() const { return evictionOrder.size() + movedOutCount; }
1946 int64_t getCountMoved() const { return movedOutCount; }
1947 int64_t getSizeUsed() const { return sizeUsed + reservedSize; }
1948
1949 // Only to be used in tests at a point where all ObjectCache instances should be destroyed.
1950 bool empty() const { return reservedSize == 0 && sizeUsed == 0 && getCountUsed() == 0; }

Callers 2

getStorageBytesFunction · 0.80
getFieldsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected