GCC Code Coverage Report
Directory: . Exec Total Coverage
File: src/theory/quantifiers/sygus/sygus_stats.cpp Lines: 17 17 100.0 %
Date: 2021-05-24 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
1529
SygusStatistics::SygusStatistics()
25
    : d_cegqi_lemmas_ce(
26
3058
        smtStatisticsRegistry().registerInt("SynthEngine::cegqi_lemmas_ce")),
27
1529
      d_cegqi_lemmas_refine(smtStatisticsRegistry().registerInt(
28
3058
          "SynthEngine::cegqi_lemmas_refine")),
29
      d_cegqi_si_lemmas(
30
3058
          smtStatisticsRegistry().registerInt("SynthEngine::cegqi_lemmas_si")),
31
      d_solutions(
32
3058
          smtStatisticsRegistry().registerInt("SynthConjecture::solutions")),
33
1529
      d_filtered_solutions(smtStatisticsRegistry().registerInt(
34
3058
          "SynthConjecture::filtered_solutions")),
35
1529
      d_candidate_rewrites_print(smtStatisticsRegistry().registerInt(
36
3058
          "SynthConjecture::candidate_rewrites_print")),
37
1529
      d_enumTermsRewrite(smtStatisticsRegistry().registerInt(
38
3058
          "SygusEnumerator::enumTermsRewrite")),
39
1529
      d_enumTermsExampleEval(smtStatisticsRegistry().registerInt(
40
3058
          "SygusEnumerator::enumTermsEvalExamples")),
41
      d_enumTerms(
42
13761
          smtStatisticsRegistry().registerInt("SygusEnumerator::enumTerms"))
43
44
{
45
1529
}
46
47
}  // namespace quantifiers
48
}  // namespace theory
49
28191
}  // namespace cvc5