MCPcopy Create free account
hub / github.com/ceph/ceph / CephContext

Method CephContext

src/common/ceph_context.cc:86–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84#ifdef WITH_CRIMSON
85namespace crimson::common {
86CephContext::CephContext()
87 : _conf{crimson::common::local_conf()},
88 _perf_counters_collection{crimson::common::local_perf_coll()},
89 _crypto_random{std::make_unique<CryptoRandom>()}
90{}
91
92// define the dtor in .cc as CryptoRandom is an incomplete type in the header
93CephContext::~CephContext()

Callers

nothing calls this directly

Calls 4

createFunction · 0.70
add_observerMethod · 0.45
register_commandMethod · 0.45
resetMethod · 0.45

Tested by

no test coverage detected