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

Method DynamicMemoryUsage

src/kernel/disconnected_transactions.cpp:44–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42}
43
44size_t DisconnectedBlockTransactions::DynamicMemoryUsage() const
45{
46 return cachedInnerUsage + memusage::DynamicUsage(iters_by_txid) + memusage::DynamicUsage(queuedTx);
47}
48
49[[nodiscard]] std::vector<CTransactionRef> DisconnectedBlockTransactions::AddTransactionsFromBlock(const std::vector<CTransactionRef>& vtx)
50{

Callers 14

BOOST_AUTO_TEST_CASEFunction · 0.45
BOOST_AUTO_TEST_CASEFunction · 0.45
BOOST_FIXTURE_TEST_CASEFunction · 0.45
SelfTestMethod · 0.45
InsertCoinsMapEntryFunction · 0.45
TestFlushBehaviorMethod · 0.45
TestCoinsViewFunction · 0.45
FUZZ_TARGETFunction · 0.45
FinishFunction · 0.45
TestDbWrapperFunction · 0.45
FUZZ_TARGETFunction · 0.45
MempoolInfoToJSONFunction · 0.45

Calls 1

DynamicUsageFunction · 0.85

Tested by 11

BOOST_AUTO_TEST_CASEFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36
BOOST_FIXTURE_TEST_CASEFunction · 0.36
SelfTestMethod · 0.36
InsertCoinsMapEntryFunction · 0.36
TestFlushBehaviorMethod · 0.36
TestCoinsViewFunction · 0.36
FUZZ_TARGETFunction · 0.36
FinishFunction · 0.36
TestDbWrapperFunction · 0.36
FUZZ_TARGETFunction · 0.36