summaryrefslogtreecommitdiffstats
path: root/src/mgr/mgr_perf_counters.h
blob: d695d905fe96ca1f4bc45c2c9fb95780397b5532 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab ft=cpp

#pragma once
#include "include/common_fwd.h"

extern PerfCounters* perfcounter;

extern int mgr_perf_start(CephContext* cct);
extern void mgr_perf_stop(CephContext* cct);

enum {
  l_mgr_first,

  l_mgr_cache_hit,
  l_mgr_cache_miss,

  l_mgr_last,
};