summaryrefslogtreecommitdiff
path: root/src/util/statistics.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/statistics.h')
-rw-r--r--src/util/statistics.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/util/statistics.h b/src/util/statistics.h
index 663d2071b..bdc8ad6a2 100644
--- a/src/util/statistics.h
+++ b/src/util/statistics.h
@@ -84,6 +84,12 @@ public:
/** Flush all statistics to the given output stream. */
void flushInformation(std::ostream& out) const;
+ /**
+ * Flush all statistics to the given file descriptor. Safe to use in a signal
+ * handler.
+ */
+ void safeFlushInformation(int fd) const;
+
/** Get the value of a named statistic. */
SExpr getStatistic(std::string name) const;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback