MCPcopy Create free account
hub / github.com/ElementsProject/elements / MemoryUsage

Method MemoryUsage

src/leveldb/util/arena.h:33–35  ·  view source on GitHub ↗

Returns an estimate of the total memory usage of data allocated by the arena.

Source from the content-addressed store, hash-verified

31 // Returns an estimate of the total memory usage of data allocated
32 // by the arena.
33 size_t MemoryUsage() const {
34 return memory_usage_.load(std::memory_order_relaxed);
35 }
36
37 private:
38 char* AllocateFallback(size_t bytes);

Callers 2

TESTFunction · 0.80

Calls 1

loadMethod · 0.45

Tested by 1

TESTFunction · 0.64