MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / DynamicMemoryUsage

Method DynamicMemoryUsage

src/coins.cpp:38–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38size_t CCoinsViewCache::DynamicMemoryUsage() const {
39 return memusage::DynamicUsage(cacheCoins) + cachedCoinsUsage;
40}
41
42std::optional<Coin> CCoinsViewCache::FetchCoinFromBase(const COutPoint& outpoint) const
43{

Callers 15

TotalMemoryUsageMethod · 0.45
ProcessValidTxMethod · 0.45
FetchCoinMethod · 0.45
AddCoinMethod · 0.45
SpendCoinMethod · 0.45
BatchWriteMethod · 0.45
UncacheMethod · 0.45
SanityCheckMethod · 0.45
FlushStateToDiskMethod · 0.45
EXCLUSIVE_LOCKS_REQUIREDFunction · 0.45

Calls 1

DynamicUsageFunction · 0.85

Tested by

no test coverage detected