From 58fe27ebc2dae7a368458f2a8f0c2d2991037ba3 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Fri, 5 Jan 2018 23:51:02 +0800 Subject: [PATCH] common/perf_counters: remove unused parameter Signed-off-by: Kefu Chai --- src/common/perf_counters.cc | 4 ++-- src/common/perf_counters.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/common/perf_counters.cc b/src/common/perf_counters.cc index 048c93a64334..737bbcc3dc85 100644 --- a/src/common/perf_counters.cc +++ b/src/common/perf_counters.cc @@ -230,7 +230,7 @@ uint64_t PerfCounters::get(int idx) const return data.u64; } -void PerfCounters::tinc(int idx, utime_t amt, uint32_t avgcount) +void PerfCounters::tinc(int idx, utime_t amt) { if (!m_cct->_conf->perf) return; @@ -249,7 +249,7 @@ void PerfCounters::tinc(int idx, utime_t amt, uint32_t avgcount) } } -void PerfCounters::tinc(int idx, ceph::timespan amt, uint32_t avgcount) +void PerfCounters::tinc(int idx, ceph::timespan amt) { if (!m_cct->_conf->perf) return; diff --git a/src/common/perf_counters.h b/src/common/perf_counters.h index 7192d1895c85..1aec9cc05f58 100644 --- a/src/common/perf_counters.h +++ b/src/common/perf_counters.h @@ -226,8 +226,8 @@ public: uint64_t get(int idx) const; void tset(int idx, utime_t v); - void tinc(int idx, utime_t v, uint32_t avgcount = 1); - void tinc(int idx, ceph::timespan v, uint32_t avgcount = 1); + void tinc(int idx, utime_t v); + void tinc(int idx, ceph::timespan v); utime_t tget(int idx) const; void hinc(int idx, int64_t x, int64_t y); -- 2.47.3