]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2157] remove per-zone statistics code
authorYoshitaka Aharen <aharen@jprs.co.jp>
Mon, 19 Nov 2012 02:03:49 +0000 (11:03 +0900)
committerYoshitaka Aharen <aharen@jprs.co.jp>
Tue, 20 Nov 2012 02:12:35 +0000 (11:12 +0900)
src/bin/auth/statistics.cc.pre
src/bin/auth/statistics.h

index 88b3c06ea2b850db7dd77fa269603ed875c13807..dd3b30b8c0868fb263e221cea05e706606c7aeea 100644 (file)
@@ -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
index 1cc9e5fa9bd7eb8acc33d7f363e78deee554f37b..14184e5aa08ab749bb50d2d6af9fc639b8add81d 100644 (file)
@@ -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);