Lines Matching refs:metric
8 #include "metric.h"
19 struct ceph_client_metric *m = &mdsc->metric;
39 /* encode the cap metric */
45 cap->hit = cpu_to_le64(percpu_counter_sum(&mdsc->metric.i_caps_hit));
46 cap->mis = cpu_to_le64(percpu_counter_sum(&mdsc->metric.i_caps_mis));
50 /* encode the read latency metric */
62 /* encode the write latency metric */
74 /* encode the metadata latency metric */
111 * Skip it if MDS doesn't support the metric collection,
117 mdsc->metric.session = s;
131 container_of(m, struct ceph_mds_client, metric);