1 |
|
/****************************************************************************** |
2 |
|
* Top contributors (to current version): |
3 |
|
* Tim King, Gereon Kremer, Andrew Reynolds |
4 |
|
* |
5 |
|
* This file is part of the cvc5 project. |
6 |
|
* |
7 |
|
* Copyright (c) 2009-2021 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/smt_engine_stats.h" |
17 |
|
|
18 |
|
#include "smt/smt_statistics_registry.h" |
19 |
|
|
20 |
|
namespace cvc5 { |
21 |
|
namespace smt { |
22 |
|
|
23 |
10497 |
SmtEngineStatistics::SmtEngineStatistics(const std::string& name) |
24 |
10497 |
: d_definitionExpansionTime(smtStatisticsRegistry().registerTimer( |
25 |
20994 |
name + "definitionExpansionTime")), |
26 |
|
d_numConstantProps( |
27 |
20994 |
smtStatisticsRegistry().registerInt(name + "numConstantProps")), |
28 |
10497 |
d_numAssertionsPre(smtStatisticsRegistry().registerInt( |
29 |
20994 |
name + "numAssertionsPreITERemoval")), |
30 |
10497 |
d_numAssertionsPost(smtStatisticsRegistry().registerInt( |
31 |
20994 |
name + "numAssertionsPostITERemoval")), |
32 |
|
d_checkModelTime( |
33 |
20994 |
smtStatisticsRegistry().registerTimer(name + "checkModelTime")), |
34 |
|
d_checkUnsatCoreTime( |
35 |
20994 |
smtStatisticsRegistry().registerTimer(name + "checkUnsatCoreTime")), |
36 |
20994 |
d_solveTime(smtStatisticsRegistry().registerTimer(name + "solveTime")), |
37 |
|
d_pushPopTime( |
38 |
20994 |
smtStatisticsRegistry().registerTimer(name + "pushPopTime")), |
39 |
10497 |
d_processAssertionsTime(smtStatisticsRegistry().registerTimer( |
40 |
20994 |
name + "processAssertionsTime")), |
41 |
|
d_simplifiedToFalse( |
42 |
104970 |
smtStatisticsRegistry().registerInt(name + "simplifiedToFalse")) |
43 |
|
{ |
44 |
10497 |
} |
45 |
|
|
46 |
|
} // namespace smt |
47 |
29340 |
} // namespace cvc5 |