GCC Code Coverage Report
Directory: . Exec Total Coverage
File: src/theory/quantifiers/sygus/sygus_stats.cpp Lines: 17 17 100.0 %
Date: 2021-08-01 Branches: 20 40 50.0 %

Line Exec Source
1
/******************************************************************************
2
 * Top contributors (to current version):
3
 *   Andrew Reynolds, Tim King
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
 * A shared statistics class for sygus.
14
 */
15
16
#include "theory/quantifiers/sygus/sygus_stats.h"
17
18
#include "smt/smt_statistics_registry.h"
19
20
namespace cvc5 {
21
namespace theory {
22
namespace quantifiers {
23
24
1151
SygusStatistics::SygusStatistics()
25
    : d_cegqi_lemmas_ce(
26
2302
        smtStatisticsRegistry().registerInt("SynthEngine::cegqi_lemmas_ce")),
27
1151
      d_cegqi_lemmas_refine(smtStatisticsRegistry().registerInt(
28
2302
          "SynthEngine::cegqi_lemmas_refine")),
29
      d_cegqi_si_lemmas(
30
2302
          smtStatisticsRegistry().registerInt("SynthEngine::cegqi_lemmas_si")),
31
      d_solutions(
32
2302
          smtStatisticsRegistry().registerInt("SynthConjecture::solutions")),
33
1151
      d_filtered_solutions(smtStatisticsRegistry().registerInt(
34
2302
          "SynthConjecture::filtered_solutions")),
35
1151
      d_candidate_rewrites_print(smtStatisticsRegistry().registerInt(
36
2302
          "SynthConjecture::candidate_rewrites_print")),
37
1151
      d_enumTermsRewrite(smtStatisticsRegistry().registerInt(
38
2302
          "SygusEnumerator::enumTermsRewrite")),
39
1151
      d_enumTermsExampleEval(smtStatisticsRegistry().registerInt(
40
2302
          "SygusEnumerator::enumTermsEvalExamples")),
41
      d_enumTerms(
42
10359
          smtStatisticsRegistry().registerInt("SygusEnumerator::enumTerms"))
43
44
{
45
1151
}
46
47
}  // namespace quantifiers
48
}  // namespace theory
49
29280
}  // namespace cvc5