MCPcopy Create free account
hub / github.com/ceph/ceph / ~PerfCountersCacheEntry

Method ~PerfCountersCacheEntry

src/common/perf_counters_cache.h:31–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29 PerfCountersCacheEntry(const std::string &_key) : key(_key) {}
30
31 ~PerfCountersCacheEntry() {
32 if (counters) {
33 cct->get_perfcounters_collection()->remove(counters.get());
34 }
35 }
36};
37
38struct perf_counters_cache_item_to_key {

Callers

nothing calls this directly

Calls 3

removeMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected