summaryrefslogtreecommitdiff
path: root/src/smt/smt_engine.h
diff options
context:
space:
mode:
authorGereon Kremer <gereon.kremer@cs.rwth-aachen.de>2021-04-02 19:47:43 +0200
committerGitHub <noreply@github.com>2021-04-02 17:47:43 +0000
commit2506e17ca86c42b7590f65326b70a69b0efdb0bd (patch)
treecf1686ebfa22300f03f60b0e80a9a8fdb6ddd33c /src/smt/smt_engine.h
parentda3eff9ba6c632e290c9af990dc5750f65d78820 (diff)
Minor refactoring (#6273)
This PR does some minor refactorings in preparation for the new statistics: some renamings, removal of now obsolete code and usage of references instead of pointers.
Diffstat (limited to 'src/smt/smt_engine.h')
-rw-r--r--src/smt/smt_engine.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/smt/smt_engine.h b/src/smt/smt_engine.h
index 909c1cc50..493042bbe 100644
--- a/src/smt/smt_engine.h
+++ b/src/smt/smt_engine.h
@@ -824,13 +824,13 @@ class CVC4_EXPORT SmtEngine
SExpr getStatistic(std::string name) const;
/** Flush statistics from this SmtEngine and the NodeManager it uses. */
- void flushStatistics(std::ostream& out) const;
+ void printStatistics(std::ostream& out) const;
/**
* Flush statistics from this SmtEngine and the NodeManager it uses. Safe to
* use in a signal handler.
*/
- void safeFlushStatistics(int fd) const;
+ void printStatisticsSafe(int fd) const;
/**
* Set user attribute.
@@ -906,7 +906,7 @@ class CVC4_EXPORT SmtEngine
smt::PfManager* getPfManager() { return d_pfManager.get(); };
/** Get a pointer to the StatisticsRegistry owned by this SmtEngine. */
- StatisticsRegistry* getStatisticsRegistry();
+ StatisticsRegistry& getStatisticsRegistry();
/**
* Internal method to get an unsatisfiable core (only if immediately preceded
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback