# HG changeset patch # User Chris Cannam # Date 1479748082 0 # Node ID 6974bd4efdb5521eb0d9b61965398a2ded34ab21 # Parent 0b2a2ebf59c93ced0300818de55daef59403a80b Hit counts optional diff -r 0b2a2ebf59c9 -r 6974bd4efdb5 base/HitCount.h --- a/base/HitCount.h Mon Nov 21 16:54:37 2016 +0000 +++ b/base/HitCount.h Mon Nov 21 17:08:02 2016 +0000 @@ -32,6 +32,7 @@ { } ~HitCount() { +#ifndef NO_HIT_COUNTS using namespace std; int total = m_hit + m_partial + m_miss; cerr << "Hit count: " << m_name << ": "; @@ -52,6 +53,7 @@ } } cerr << endl; +#endif } void hit() { ++m_hit; }