1 |
|
/****************************************************************************** |
2 |
|
* Top contributors (to current version): |
3 |
|
* Andrew Reynolds, Andres Noetzli |
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 |
|
* Statistics for the theory of strings/sequences. |
14 |
|
*/ |
15 |
|
|
16 |
|
#include "theory/strings/sequences_stats.h" |
17 |
|
|
18 |
|
#include "smt/smt_statistics_registry.h" |
19 |
|
|
20 |
|
namespace cvc5 { |
21 |
|
namespace theory { |
22 |
|
namespace strings { |
23 |
|
|
24 |
9940 |
SequencesStatistics::SequencesStatistics() |
25 |
|
: d_checkRuns( |
26 |
19880 |
smtStatisticsRegistry().registerInt("theory::strings::checkRuns")), |
27 |
|
d_strategyRuns( |
28 |
19880 |
smtStatisticsRegistry().registerInt("theory::strings::strategyRuns")), |
29 |
9940 |
d_cdSimplifications(smtStatisticsRegistry().registerHistogram<Kind>( |
30 |
19880 |
"theory::strings::cdSimplifications")), |
31 |
9940 |
d_reductions(smtStatisticsRegistry().registerHistogram<Kind>( |
32 |
19880 |
"theory::strings::reductions")), |
33 |
9940 |
d_regexpUnfoldingsPos(smtStatisticsRegistry().registerHistogram<Kind>( |
34 |
19880 |
"theory::strings::regexpUnfoldingsPos")), |
35 |
9940 |
d_regexpUnfoldingsNeg(smtStatisticsRegistry().registerHistogram<Kind>( |
36 |
19880 |
"theory::strings::regexpUnfoldingsNeg")), |
37 |
9940 |
d_rewrites(smtStatisticsRegistry().registerHistogram<Rewrite>( |
38 |
19880 |
"theory::strings::rewrites")), |
39 |
9940 |
d_conflictsEqEngine(smtStatisticsRegistry().registerInt( |
40 |
19880 |
"theory::strings::conflictsEqEngine")), |
41 |
9940 |
d_conflictsEager(smtStatisticsRegistry().registerInt( |
42 |
19880 |
"theory::strings::conflictsEager")), |
43 |
9940 |
d_conflictsInfer(smtStatisticsRegistry().registerInt( |
44 |
99400 |
"theory::strings::conflictsInfer")) |
45 |
|
{ |
46 |
9940 |
} |
47 |
|
|
48 |
|
} |
49 |
|
} |
50 |
29574 |
} // namespace cvc5 |