summaryrefslogtreecommitdiff
path: root/src/proof/proof_manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/proof/proof_manager.h')
-rw-r--r--src/proof/proof_manager.h25
1 files changed, 21 insertions, 4 deletions
diff --git a/src/proof/proof_manager.h b/src/proof/proof_manager.h
index 82efbab0f..081ce7a74 100644
--- a/src/proof/proof_manager.h
+++ b/src/proof/proof_manager.h
@@ -24,9 +24,9 @@
#include <unordered_map>
#include <unordered_set>
-#include "expr/node.h"
-#include "context/cdhashset.h"
#include "context/cdhashmap.h"
+#include "context/cdhashset.h"
+#include "expr/node.h"
#include "proof/clause_id.h"
#include "proof/proof.h"
#include "proof/proof_utils.h"
@@ -34,7 +34,7 @@
#include "theory/logic_info.h"
#include "theory/substitutions.h"
#include "util/proof.h"
-
+#include "util/statistics_registry.h"
namespace CVC4 {
@@ -298,9 +298,26 @@ public:
std::ostream& out,
std::ostringstream& paren);
-private:
+ TimerStat* getProofProductionTime() { return &d_stats.d_proofProductionTime; }
+
+ private:
void constructSatProof();
std::set<Node> satClauseToNodeSet(prop::SatClause* clause);
+
+ struct ProofManagerStatistics
+ {
+ ProofManagerStatistics();
+ ~ProofManagerStatistics();
+
+ /**
+ * Time spent producing proofs (i.e. generating the proof from the logging
+ * information)
+ */
+ TimerStat d_proofProductionTime;
+ }; /* struct ProofManagerStatistics */
+
+ ProofManagerStatistics d_stats;
+
};/* class ProofManager */
class LFSCProof : public Proof
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback