summaryrefslogtreecommitdiff
path: root/src/util/statistics.h
diff options
context:
space:
mode:
authorGereon Kremer <gkremer@stanford.edu>2021-03-11 21:20:19 +0100
committerGitHub <noreply@github.com>2021-03-11 20:20:19 +0000
commit42d5d8950d849aa4b855aa62834cd5fdee1a91a8 (patch)
tree2cbb6d9b283c05fc12ba9ad8495fa84a57375af6 /src/util/statistics.h
parentdc679ed380aabc62aadfbb4033c02c5a27ae903c (diff)
First refactoring of statistics classes (#6105)
This PR does a first round of refactoring on the statistics, in particular the Stat class and derived classes. It significantly shrinks the class hierarchy, modernizes some code (e.g. use std::chrono instead of clock_gettime), removes unused features (e.g. nesting of statistics) and does some general cleanup and consolidation. Subsequent PRs are planned to change the ownership model (right now every module owns the Stat object) which makes the whole register / unregister mechanism obsolete.
Diffstat (limited to 'src/util/statistics.h')
-rw-r--r--src/util/statistics.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/util/statistics.h b/src/util/statistics.h
index d2380ea08..ce8f4711f 100644
--- a/src/util/statistics.h
+++ b/src/util/statistics.h
@@ -35,8 +35,6 @@ class Stat;
class CVC4_PUBLIC StatisticsBase {
protected:
- static std::string s_regDelim;
-
/** A helper class for comparing two statistics */
struct StatCmp {
bool operator()(const Stat* s1, const Stat* s2) const;
@@ -45,8 +43,6 @@ protected:
/** A type for a set of statistics */
typedef std::set< Stat*, StatCmp > StatSet;
- std::string d_prefix;
-
/** The set of statistics in this object */
StatSet d_stats;
@@ -78,9 +74,6 @@ public:
/** An iterator type over a set of statistics. */
typedef iterator const_iterator;
- /** Set the output prefix for this set of statistics. */
- virtual void setPrefix(const std::string& prefix);
-
/** Flush all statistics to the given output stream. */
void flushInformation(std::ostream& out) const;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback