]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
common/perf_counters: remove unused parameter 19805/head
authorKefu Chai <kchai@redhat.com>
Fri, 5 Jan 2018 15:51:02 +0000 (23:51 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 5 Jan 2018 15:52:10 +0000 (23:52 +0800)
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/common/perf_counters.cc
src/common/perf_counters.h

index 048c93a64334a20ef59abdbc4eff08d167979ad7..737bbcc3dc85153e0b78bed405933476a8e26a3f 100644 (file)
@@ -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;
index 7192d1895c85415d0147b5e0dfbf407cca80f7df..1aec9cc05f58801d5b2c606bb36f9d94485da159 100644 (file)
@@ -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);