GCC Code Coverage Report
Directory: . Exec Total Coverage
File: src/theory/bags/bags_statistics.cpp Lines: 7 7 100.0 %
Date: 2021-03-22 Branches: 6 12 50.0 %

Line Exec Source
1
/*********************                                                        */
2
/*! \file bags_statistics.cpp
3
 ** \verbatim
4
 ** Top contributors (to current version):
5
 **   Mudathir Mohamed
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 the theory of bags
13
 **/
14
15
#include "theory/bags/bags_statistics.h"
16
17
#include "smt/smt_statistics_registry.h"
18
19
namespace CVC4 {
20
namespace theory {
21
namespace bags {
22
23
8995
BagsStatistics::BagsStatistics() : d_rewrites("theory::bags::rewrites")
24
{
25
8995
  smtStatisticsRegistry()->registerStat(&d_rewrites);
26
8995
}
27
28
17984
BagsStatistics::~BagsStatistics()
29
{
30
8992
  smtStatisticsRegistry()->unregisterStat(&d_rewrites);
31
8992
}
32
33
}  // namespace bags
34
}  // namespace theory
35
26676
}  // namespace CVC4