summaryrefslogtreecommitdiff
path: root/src/main/command_executor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/command_executor.h')
-rw-r--r--src/main/command_executor.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/main/command_executor.h b/src/main/command_executor.h
index f066a27b6..60305ff1f 100644
--- a/src/main/command_executor.h
+++ b/src/main/command_executor.h
@@ -84,18 +84,19 @@ class CommandExecutor
SmtEngine* getSmtEngine() const { return d_solver->getSmtEngine(); }
/**
- * Flushes statistics to a file descriptor.
+ * Prints statistics to an output stream.
+ * Checks whether statistics should be printed according to the options.
+ * Thus, this method can always be called without checking the options.
*/
- virtual void flushStatistics(std::ostream& out) const;
+ virtual void printStatistics(std::ostream& out) const;
/**
- * Flushes statistics to a file descriptor.
- * Safe to use in a signal handler.
+ * Safely prints statistics to a file descriptor.
+ * This method is safe to be used within a signal handler.
+ * Checks whether statistics should be printed according to the options.
+ * Thus, this method can always be called without checking the options.
*/
- void safeFlushStatistics(int fd) const;
-
- static void printStatsFilterZeros(std::ostream& out,
- const std::string& statsString);
+ void printStatisticsSafe(int fd) const;
void flushOutputStreams();
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback