blob: 7a19a9f2d82abc3f2bab4c9183ba07af86d07c6a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#include "perf_counters_collection.h"
namespace ceph::common {
PerfCountersCollection::PerfCountersCollection()
{
perf_collection = std::make_unique<PerfCountersCollectionImpl>();
}
PerfCountersCollection::~PerfCountersCollection()
{
perf_collection->clear();
}
PerfCountersCollectionImpl* PerfCountersCollection:: get_perf_collection()
{
return perf_collection.get();
}
PerfCountersCollection::ShardedPerfCountersCollection PerfCountersCollection::sharded_perf_coll;
}
|