GCC Code Coverage Report
Directory: . Exec Total Coverage
File: src/theory/arith/nl/stats.cpp Lines: 10 10 100.0 %
Date: 2021-03-22 Branches: 10 20 50.0 %

Line Exec Source
1
/*********************                                                        */
2
/*! \file stats.cpp
3
 ** \verbatim
4
 ** Top contributors (to current version):
5
 **   Andrew Reynolds, Gereon Kremer
6
 ** This file is part of the CVC4 project.
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.\endverbatim
11
 **
12
 ** \brief Statistics for non-linear arithmetic
13
 **/
14
15
#include "theory/arith/nl/stats.h"
16
17
#include "smt/smt_statistics_registry.h"
18
19
namespace CVC4 {
20
namespace theory {
21
namespace arith {
22
namespace nl {
23
24
4389
NlStats::NlStats()
25
    : d_mbrRuns("nl::mbrRuns", 0),
26
4389
      d_checkRuns("nl::checkRuns", 0)
27
{
28
4389
  smtStatisticsRegistry()->registerStat(&d_mbrRuns);
29
4389
  smtStatisticsRegistry()->registerStat(&d_checkRuns);
30
4389
}
31
32
8772
NlStats::~NlStats()
33
{
34
4386
  smtStatisticsRegistry()->unregisterStat(&d_mbrRuns);
35
4386
  smtStatisticsRegistry()->unregisterStat(&d_checkRuns);
36
4386
}
37
38
}  // namespace nl
39
}  // namespace arith
40
}  // namespace theory
41
26676
}  // namespace CVC4