#include <boost/scoped_ptr.hpp>
#include "include/encoding.h"
#include "common/Formatter.h"
+#include "common/perf_counters.h"
using std::string;
/**
virtual void get_statistics(Formatter *f) {
return;
}
+
+ /**
+ * Return your perf counters if you have any. Subclasses are not
+ * required to implement this, and callers must respect a null return
+ * value.
+ */
+ virtual PerfCounters *get_perf_counters() {
+ return nullptr;
+ }
protected:
/// List of matching prefixes and merge operators
std::vector<std::pair<std::string,