]>
Commit | Line | Data |
---|---|---|
11fdf7f2 | 1 | // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- |
9f95a23c | 2 | // vim: ts=8 sw=2 smarttab ft=cpp |
11fdf7f2 TL |
3 | |
4 | #pragma once | |
9f95a23c | 5 | #include "include/common_fwd.h" |
11fdf7f2 TL |
6 | |
7 | extern PerfCounters *perfcounter; | |
8 | ||
9 | extern int rgw_perf_start(CephContext *cct); | |
10 | extern void rgw_perf_stop(CephContext *cct); | |
11 | ||
12 | enum { | |
13 | l_rgw_first = 15000, | |
14 | l_rgw_req, | |
15 | l_rgw_failed_req, | |
16 | ||
17 | l_rgw_get, | |
18 | l_rgw_get_b, | |
19 | l_rgw_get_lat, | |
20 | ||
21 | l_rgw_put, | |
22 | l_rgw_put_b, | |
23 | l_rgw_put_lat, | |
24 | ||
25 | l_rgw_qlen, | |
26 | l_rgw_qactive, | |
27 | ||
28 | l_rgw_cache_hit, | |
29 | l_rgw_cache_miss, | |
30 | ||
31 | l_rgw_keystone_token_cache_hit, | |
32 | l_rgw_keystone_token_cache_miss, | |
33 | ||
494da23a | 34 | l_rgw_gc_retire, |
f6b5b4d7 TL |
35 | |
36 | l_rgw_lc_expire_current, | |
37 | l_rgw_lc_expire_noncurrent, | |
38 | l_rgw_lc_expire_dm, | |
39 | l_rgw_lc_transition_current, | |
40 | l_rgw_lc_transition_noncurrent, | |
41 | l_rgw_lc_abort_mpu, | |
494da23a | 42 | |
11fdf7f2 TL |
43 | l_rgw_pubsub_event_triggered, |
44 | l_rgw_pubsub_event_lost, | |
45 | l_rgw_pubsub_store_ok, | |
46 | l_rgw_pubsub_store_fail, | |
47 | l_rgw_pubsub_events, | |
48 | l_rgw_pubsub_push_ok, | |
49 | l_rgw_pubsub_push_failed, | |
50 | l_rgw_pubsub_push_pending, | |
eafe8130 | 51 | l_rgw_pubsub_missing_conf, |
11fdf7f2 TL |
52 | |
53 | l_rgw_last, | |
54 | }; | |
55 |