Branch data Line data Source code
1 : : /****************************************************************************** 2 : : * Top contributors (to current version): 3 : : * Andrew Reynolds 4 : : * 5 : : * This file is part of the cvc5 project. 6 : : * 7 : : * Copyright (c) 2009-2024 by the authors listed in the file AUTHORS 8 : : * in the top-level source directory and their institutional affiliations. 9 : : * All rights reserved. See the file COPYING in the top-level source 10 : : * directory for licensing information. 11 : : * **************************************************************************** 12 : : * 13 : : * Implementation of statistics for SMT engine. 14 : : */ 15 : : 16 : : #include "smt/solver_engine_stats.h" 17 : : 18 : : namespace cvc5::internal { 19 : : namespace smt { 20 : : 21 : 70473 : SolverEngineStatistics::SolverEngineStatistics(StatisticsRegistry& sr, 22 : 70473 : const std::string& name) 23 : : : d_definitionExpansionTime( 24 : 70473 : sr.registerTimer(name + "definitionExpansionTime")), 25 : 70473 : d_numConstantProps(sr.registerInt(name + "numConstantProps")), 26 : 70473 : d_numAssertionsPre(sr.registerInt(name + "numAssertionsPreITERemoval")), 27 : 70473 : d_numAssertionsPost(sr.registerInt(name + "numAssertionsPostITERemoval")), 28 : 70473 : d_checkModelTime(sr.registerTimer(name + "checkModelTime")), 29 : 70473 : d_checkUnsatCoreTime(sr.registerTimer(name + "checkUnsatCoreTime")), 30 : 70473 : d_solveTime(sr.registerTimer(name + "solveTime")), 31 : 70473 : d_pushPopTime(sr.registerTimer(name + "pushPopTime")), 32 : 70473 : d_processAssertionsTime(sr.registerTimer(name + "processAssertionsTime")), 33 : 70473 : d_simplifiedToFalse(sr.registerInt(name + "simplifiedToFalse")) 34 : : { 35 : 70473 : } 36 : : 37 : : } // namespace smt 38 : : } // namespace cvc5::internal