summaryrefslogtreecommitdiff
path: root/src/util/statistics_public.h
diff options
context:
space:
mode:
authorGereon Kremer <gereon.kremer@cs.rwth-aachen.de>2021-04-02 20:29:27 +0200
committerGitHub <noreply@github.com>2021-04-02 18:29:27 +0000
commit5516d995582f5ccfa6e8dcc17d6b7e3f0c56551a (patch)
treeb1a6366ac1928e85dc0d499ab9cb1fe354e6917d /src/util/statistics_public.h
parent2506e17ca86c42b7590f65326b70a69b0efdb0bd (diff)
New statistics registry (#6210)
This PR adds the next part of the new statistics setup: the registry. The new statistics registry owns the actual data and only issues proxy objects that can be used to modify the internally stored data. Once we replace the old statistics setup, the files should be renamed from statistics_reg.* to statistics_registry.*.
Diffstat (limited to 'src/util/statistics_public.h')
-rw-r--r--src/util/statistics_public.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/util/statistics_public.h b/src/util/statistics_public.h
new file mode 100644
index 000000000..c2d054f00
--- /dev/null
+++ b/src/util/statistics_public.h
@@ -0,0 +1,33 @@
+/********************* */
+/*! \file statistics_public.h
+ ** \verbatim
+ ** Top contributors (to current version):
+ ** Gereon Kremer
+ ** This file is part of the CVC4 project.
+ ** Copyright (c) 2009-2021 by the authors listed in the file AUTHORS
+ ** in the top-level source directory and their institutional affiliations.
+ ** All rights reserved. See the file COPYING in the top-level source
+ ** directory for licensing information.\endverbatim
+ **
+ ** \brief Registration of public statistics
+ **
+ ** Registration and documentation for all public statistics.
+ **/
+
+#include "cvc4_private_library.h"
+
+#ifndef CVC4__UTIL__STATISTICS_PUBLIC_H
+#define CVC4__UTIL__STATISTICS_PUBLIC_H
+
+namespace cvc5 {
+
+class StatisticsRegistry;
+
+/**
+ * Preregisters all public (non-expert) statistics.
+ */
+void registerPublicStatistics(StatisticsRegistry& reg);
+
+} // namespace cvc5
+
+#endif
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback