MCPcopy Create free account
hub / github.com/bytedance/terarkdb / GetSimUsage

Method GetSimUsage

utilities/simulator_cache/sim_cache.cc:260–262  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

258 return key_only_cache_->GetCapacity();
259 }
260 virtual size_t GetSimUsage() const override {
261 return key_only_cache_->GetUsage();
262 }
263 virtual void SetSimCapacity(size_t capacity) override {
264 key_only_cache_->SetCapacity(capacity);
265 }

Callers 1

TEST_FFunction · 0.80

Calls 1

GetUsageMethod · 0.45

Tested by 1

TEST_FFunction · 0.64