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

Function DynamicUsage

src/memusage.h:31–31  ·  view source on GitHub ↗

Dynamic memory usage for built-in types is zero. */

Source from the content-addressed store, hash-verified

29
30/** Dynamic memory usage for built-in types is zero. */
31static inline size_t DynamicUsage(const int8_t& v) { return 0; }
32static inline size_t DynamicUsage(const uint8_t& v) { return 0; }
33static inline size_t DynamicUsage(const int16_t& v) { return 0; }
34static inline size_t DynamicUsage(const uint16_t& v) { return 0; }

Callers 15

DynamicMemoryUsageMethod · 0.85
TotalMemoryUsageMethod · 0.85
GetMainMemoryUsageMethod · 0.85
GetMemoryUsageMethod · 0.85
RecursiveDynamicUsageFunction · 0.85
DynamicMemoryUsageMethod · 0.85
MemUsageFunction · 0.85
DynamicMemoryUsageMethod · 0.85
DynamicMemoryUsageMethod · 0.85
GetMemoryUsageMethod · 0.85
GetSendMemoryUsageMethod · 0.85
BOOST_FIXTURE_TEST_CASEFunction · 0.85

Calls 8

MallocUsageFunction · 0.85
allocated_memoryMethod · 0.80
resourceMethod · 0.80
NumAllocatedChunksMethod · 0.80
ChunkSizeBytesMethod · 0.80
capacityMethod · 0.45
dataMethod · 0.45
sizeMethod · 0.45

Tested by 5

BOOST_FIXTURE_TEST_CASEFunction · 0.68
SelfTestMethod · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68
FUZZ_TARGETFunction · 0.68