Browse Source

[2157] remove per-zone statistics code

Yoshitaka Aharen 12 years ago
parent
commit
6f61065e70
2 changed files with 1 additions and 5 deletions
  1. 1 3
      src/bin/auth/statistics.cc.pre
  2. 0 2
      src/bin/auth/statistics.h

+ 1 - 3
src/bin/auth/statistics.cc.pre

@@ -118,9 +118,7 @@ const size_t num_rcode_to_msgcounter =
     sizeof(rcode_to_msgcounter) / sizeof(rcode_to_msgcounter[0]);
 
 Counters::Counters() :
-    // size of server_msg_counter_, zone_msg_counters_: MSG_COUNTER_TYPES
-    server_msg_counter_(MSG_COUNTER_TYPES),
-    zone_msg_counters_(MSG_COUNTER_TYPES)
+    server_msg_counter_(MSG_COUNTER_TYPES)
 {}
 
 void

+ 0 - 2
src/bin/auth/statistics.h

@@ -231,8 +231,6 @@ class Counters : boost::noncopyable {
 private:
     // counter for DNS message attributes
     isc::statistics::Counter server_msg_counter_;
-    // set of counters for zones
-    isc::statistics::CounterDictionary zone_msg_counters_;
     void incRequest(const MessageAttributes& msgattrs);
     void incResponse(const MessageAttributes& msgattrs,
                      const isc::dns::Message& response);