diff options
author | Morgan Deters <mdeters@gmail.com> | 2012-09-22 21:10:51 +0000 |
---|---|---|
committer | Morgan Deters <mdeters@gmail.com> | 2012-09-22 21:10:51 +0000 |
commit | e2611a54c5479086df0c4a80f56597aae80b5c4e (patch) | |
tree | b0d98600bd70147f28197883d3481614b87d76f6 /src/prop | |
parent | 8b106b77c11d12d16abac845ed704845ef888bd2 (diff) |
Separate public-facing and internal-facing interfaces to Statistics.
The external interface (e.g., what's answered by ExprManager::getStatistics() and SmtEngine::getStatistics()) is a snapshot of the current statistics (rather than a reference to the actual StatisticsRegistry).
The StatisticsRegistry is now internal-only. However, it's built as a convenience library so that the parser and driver can use it too (by re-linking against it).
This is part of the ongoing effort to clean up the public interface.
(this commit was certified error- and warning-free by the test-and-commit script.)
Diffstat (limited to 'src/prop')
-rw-r--r-- | src/prop/bvminisat/simp/SimpSolver.h | 2 | ||||
-rw-r--r-- | src/prop/sat_solver.h | 2 | ||||
-rw-r--r-- | src/prop/theory_proxy.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/prop/bvminisat/simp/SimpSolver.h b/src/prop/bvminisat/simp/SimpSolver.h index 378812e03..4af82b02d 100644 --- a/src/prop/bvminisat/simp/SimpSolver.h +++ b/src/prop/bvminisat/simp/SimpSolver.h @@ -23,7 +23,7 @@ OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWA #include "prop/bvminisat/mtl/Queue.h" #include "prop/bvminisat/core/Solver.h" -#include "util/stats.h" +#include "util/statistics_registry.h" #include "context/context.h" namespace BVMinisat { diff --git a/src/prop/sat_solver.h b/src/prop/sat_solver.h index 567f897a1..a4fdd5b3a 100644 --- a/src/prop/sat_solver.h +++ b/src/prop/sat_solver.h @@ -23,7 +23,7 @@ #include <string> #include <stdint.h> -#include "util/stats.h" +#include "util/statistics_registry.h" #include "context/cdlist.h" #include "prop/sat_solver_types.h" diff --git a/src/prop/theory_proxy.h b/src/prop/theory_proxy.h index e8da202bd..96332217e 100644 --- a/src/prop/theory_proxy.h +++ b/src/prop/theory_proxy.h @@ -26,7 +26,7 @@ #define __CVC4_USE_MINISAT #include "theory/theory.h" -#include "util/stats.h" +#include "util/statistics_registry.h" #include "context/cdqueue.h" |