/****************************************************************************** * Top contributors (to current version): * Gereon Kremer * * This file is part of the cvc5 project. * * Copyright (c) 2009-2021 by the authors listed in the file AUTHORS * in the top-level source directory and their institutional affiliations. * All rights reserved. See the file COPYING in the top-level source * directory for licensing information. * **************************************************************************** * * Registration and documentation for all public statistics. */ #include "util/statistics_public.h" #include "api/cpp/cvc5_kind.h" #include "expr/kind.h" #include "theory/inference_id.h" #include "theory/theory_id.h" #include "util/statistics_registry.h" namespace cvc5 { void registerPublicStatistics(StatisticsRegistry& reg) { reg.registerHistogram("api::CONSTANT", false); reg.registerHistogram("api::VARIABLE", false); reg.registerHistogram("api::TERM", false); reg.registerValue("driver::filename", false); reg.registerValue("driver::sat/unsat", false); reg.registerValue("driver::totalTime", false); for (theory::TheoryId id = theory::THEORY_FIRST; id != theory::THEORY_LAST; ++id) { std::string prefix = theory::getStatsPrefix(id); reg.registerHistogram(prefix + "inferencesConflict", false); reg.registerHistogram(prefix + "inferencesFact", false); reg.registerHistogram(prefix + "inferencesLemma", false); } } } // namespace cvc5