LCOV - code coverage report
Current view: top level - buildbot/coverage/build/src/theory/ff - stats.cpp (source / functions) Hit Total Coverage
Test: coverage.info Lines: 8 8 100.0 %
Date: 2025-01-27 13:33:02 Functions: 1 1 100.0 %
Branches: 1 2 50.0 %

           Branch data     Line data    Source code
       1                 :            : /******************************************************************************
       2                 :            :  * Top contributors (to current version):
       3                 :            :  *   Alex Ozdemir
       4                 :            :  *
       5                 :            :  * This file is part of the cvc5 project.
       6                 :            :  *
       7                 :            :  * Copyright (c) 2009-2025 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                 :            :  * Finite fields statistics
      14                 :            :  */
      15                 :            : 
      16                 :            : #include "theory/ff/stats.h"
      17                 :            : 
      18                 :            : #include <iostream>
      19                 :            : 
      20                 :            : #include "base/output.h"
      21                 :            : #include "util/statistics_registry.h"
      22                 :            : 
      23                 :            : namespace cvc5::internal {
      24                 :            : namespace theory {
      25                 :            : namespace ff {
      26                 :            : 
      27                 :      50701 : FfStatistics::FfStatistics(StatisticsRegistry& registry,
      28                 :      50701 :                            const std::string& prefix)
      29                 :      50701 :     : d_numReductions(registry.registerInt(prefix + "num_reductions")),
      30                 :      50701 :       d_reductionTime(registry.registerTimer(prefix + "reduction_time")),
      31                 :            :       d_modelConstructionTime(
      32                 :      50701 :           registry.registerTimer(prefix + "model_construction_time")),
      33                 :            :       d_numConstructionErrors(
      34                 :      50701 :           registry.registerInt(prefix + "num_construction_errors"))
      35                 :            : {
      36         [ +  - ]:      50701 :   Trace("ff::stats") << "ff registered 4 stats" << std::endl;
      37                 :      50701 : }
      38                 :            : 
      39                 :            : }  // namespace ff
      40                 :            : }  // namespace theory
      41                 :            : }  // namespace cvc5::internal

Generated by: LCOV version 1.14