|
klee
|
#include <Statistics.h>

Public Member Functions | |
| StatisticManager () | |
| ~StatisticManager () | |
| void | useIndexedStats (unsigned totalIndices) |
| StatisticRecord * | getContext () |
| void | setContext (StatisticRecord *sr) |
| void | setIndex (unsigned i) |
| unsigned | getIndex () |
| unsigned | getNumStatistics () |
| Statistic & | getStatistic (unsigned i) |
| void | registerStatistic (Statistic &s) |
| void | incrementStatistic (Statistic &s, uint64_t addend) |
| uint64_t | getValue (const Statistic &s) const |
| void | incrementIndexedValue (const Statistic &s, unsigned index, uint64_t addend) const |
| uint64_t | getIndexedValue (const Statistic &s, unsigned index) const |
| void | setIndexedValue (const Statistic &s, unsigned index, uint64_t value) |
| int | getStatisticID (const std::string &name) const |
| Statistic * | getStatisticByName (const std::string &name) const |
Private Attributes | |
| bool | enabled |
| std::vector< Statistic * > | stats |
| uint64_t * | globalStats |
| uint64_t * | indexedStats |
| StatisticRecord * | contextStats |
| unsigned | index |
Definition at line 40 of file Statistics.h.
| StatisticManager::StatisticManager | ( | ) |
Definition at line 16 of file Statistics.cpp.
| StatisticManager::~StatisticManager | ( | ) |
Definition at line 24 of file Statistics.cpp.
References globalStats, and indexedStats.
|
inline |
Definition at line 88 of file Statistics.h.
References contextStats.
|
inline |
Definition at line 59 of file Statistics.h.
References index.
Referenced by klee::StatsTracker::markBranchVisited(), and klee::Executor::maxStaticPctChecks().

|
inline |
Definition at line 142 of file Statistics.h.
References klee::Statistic::id, index, indexedStats, and stats.
Referenced by klee::computeMinDistToUncovered(), klee::StatsTracker::computeReachableUncovered(), klee::Executor::dumpStates(), klee::WeightedRandomSearcher::getWeight(), klee::StatsTracker::markBranchVisited(), klee::Executor::maxStaticPctChecks(), klee::StatsTracker::stepInstruction(), and klee::StatsTracker::writeIStats().

|
inline |
Definition at line 60 of file Statistics.h.
References stats.
Referenced by klee::StatisticRecord::operator+=(), klee::StatisticRecord::operator=(), klee::StatisticRecord::StatisticRecord(), klee::StatsTracker::writeIStats(), and klee::StatisticRecord::zero().

|
inline |
Definition at line 61 of file Statistics.h.
References stats.
Referenced by klee::StatsTracker::writeIStats().

| Statistic * StatisticManager::getStatisticByName | ( | const std::string & | name | ) | const |
Definition at line 50 of file Statistics.cpp.
References stats.
Referenced by EvaluateInputAST(), main(), and QueryLoggingSolver::startQuery().

| int StatisticManager::getStatisticID | ( | const std::string & | name | ) | const |
Definition at line 43 of file Statistics.cpp.
References stats.
Referenced by klee::StatsTracker::writeIStats().

|
inline |
Definition at line 132 of file Statistics.h.
References globalStats, and klee::Statistic::id.
Referenced by klee::Statistic::getValue().

|
inline |
Definition at line 136 of file Statistics.h.
References klee::Statistic::id, index, indexedStats, and stats.
Referenced by klee::StatsTracker::updateStateStatistics().

|
inline |
Definition at line 76 of file Statistics.h.
References contextStats, klee::StatisticRecord::data, enabled, globalStats, klee::Statistic::id, index, indexedStats, and stats.
Referenced by klee::Statistic::operator+=().

| void StatisticManager::registerStatistic | ( | Statistic & | s | ) |
Definition at line 35 of file Statistics.cpp.
References globalStats, klee::Statistic::id, and stats.
Referenced by klee::Statistic::Statistic().

|
inline |
Definition at line 91 of file Statistics.h.
References contextStats.
Referenced by klee::StatsTracker::stepInstruction().

|
inline |
Definition at line 58 of file Statistics.h.
References index.
Referenced by klee::StatsTracker::StatsTracker(), and klee::StatsTracker::stepInstruction().

|
inline |
Definition at line 147 of file Statistics.h.
References klee::Statistic::id, index, indexedStats, and stats.
Referenced by klee::StatsTracker::computeReachableUncovered().

| void StatisticManager::useIndexedStats | ( | unsigned | totalIndices | ) |
Definition at line 29 of file Statistics.cpp.
References indexedStats, and stats.
Referenced by klee::StatsTracker::StatsTracker().

|
private |
Definition at line 46 of file Statistics.h.
Referenced by getContext(), incrementStatistic(), and setContext().
|
private |
Definition at line 42 of file Statistics.h.
Referenced by incrementStatistic().
|
private |
Definition at line 44 of file Statistics.h.
Referenced by getValue(), incrementStatistic(), registerStatistic(), and ~StatisticManager().
|
private |
Definition at line 47 of file Statistics.h.
Referenced by getIndex(), getIndexedValue(), incrementIndexedValue(), incrementStatistic(), setIndex(), and setIndexedValue().
|
private |
Definition at line 45 of file Statistics.h.
Referenced by getIndexedValue(), incrementIndexedValue(), incrementStatistic(), setIndexedValue(), useIndexedStats(), and ~StatisticManager().
|
private |
Definition at line 43 of file Statistics.h.
Referenced by getIndexedValue(), getNumStatistics(), getStatistic(), getStatisticByName(), getStatisticID(), incrementIndexedValue(), incrementStatistic(), registerStatistic(), setIndexedValue(), and useIndexedStats().