MCPcopy Create free account
hub / github.com/alibaba/libgrape-lite / GetCurrentMemoryUsage

Method GetCurrentMemoryUsage

grape/utils/memory_tracker.cc:43–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43size_t MemoryTracker::GetCurrentMemoryUsage() const {
44 return current_memory_usage_;
45}
46
47size_t MemoryTracker::GetPeakMemoryUsage() const { return peak_memory_usage_; }
48

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected