summaryrefslogtreecommitdiff
path: root/src/base/stats/group.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/stats/group.hh')
-rw-r--r--src/base/stats/group.hh7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/base/stats/group.hh b/src/base/stats/group.hh
index f65e46448..96743a811 100644
--- a/src/base/stats/group.hh
+++ b/src/base/stats/group.hh
@@ -128,6 +128,13 @@ class Group
virtual void resetStats();
/**
+ * Callback before stats are dumped. This can be overridden by
+ * objects that need to perform calculations in addition to the
+ * capabiltiies implemented in the stat framework.
+ */
+ virtual void preDumpStats();
+
+ /**
* Register a stat with this group. This method is normally called
* automatically when a stat is instantiated.
*/