dlvhex  2.5.0
include/dlvhex2/Benchmarking.h File Reference

Benchmarking features. More...

#include "dlvhex2/PlatformDefinitions.h"
#include <boost/scope_exit.hpp>
#include <boost/typeof/typeof.hpp>
#include <boost/date_time/posix_time/posix_time.hpp>
#include <boost/thread/mutex.hpp>
#include <vector>
#include <ostream>
Include dependency graph for Benchmarking.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  benchmark::simple::BenchmarkController
 Supports benchmarking of different components of dlvhex. More...
struct  benchmark::simple::BenchmarkController::Stat
 Information about a single benchmark value. More...
class  benchmark::nestingAware::NestingAwareController
 Supports benchmarking of different components of dlvhex. More...
struct  benchmark::nestingAware::NestingAwareController::Stat
 Information about a single benchmark value. More...
struct  benchmark::nestingAware::NestingAwareController::Current

Namespaces

namespace  benchmark
namespace  benchmark::simple
namespace  benchmark::nestingAware

Defines

#define DLVHEX_BENCHMARK_NESTINGAWARE
#define DLVHEX_BENCHMARK_REGISTER(sid, msg)   do { } while(0)
#define DLVHEX_BENCHMARK_START(sid)   do { } while(0)
#define DLVHEX_BENCHMARK_STOP(sid)   do { } while(0)
#define DLVHEX_BENCHMARK_INVALIDATE(sid)   do { } while(0)
#define DLVHEX_BENCHMARK_SUSPEND(sid)   do { } while(0)
#define DLVHEX_BENCHMARK_SUSPEND_SCOPE(sid)   do { } while(0)
#define DLVHEX_BENCHMARK_COUNT(sid, num)   do { } while(0)
#define DLVHEX_BENCHMARK_SCOPE(sid)   do { } while(0)
#define DLVHEX_BENCHMARK_SCOPE_TPL(sid)   do { } while(0)
#define DLVHEX_BENCHMARK_REGISTER_AND_SCOPE(sid, msg)   do { } while(0)
#define DLVHEX_BENCHMARK_REGISTER_AND_SCOPE_TPL(sid, msg)   do { } while(0)
#define DLVHEX_BENCHMARK_REGISTER_AND_START(sid, msg)   do { } while(0)
#define DLVHEX_BENCHMARK_REGISTER_AND_COUNT(sid, msg, num)   do { } while(0)

Typedefs

typedef unsigned benchmark::ID
typedef unsigned benchmark::Count
typedef boost::posix_time::ptime benchmark::Time
typedef
boost::posix_time::time_duration 
benchmark::Duration
typedef
nestingAware::NestingAwareController 
benchmark::BenchmarkController

Detailed Description

Benchmarking features.

Author:
Peter Schller
Date:
Sat Nov 5 15:26:18 CET 2005

Definition in file Benchmarking.h.


Define Documentation

#define DLVHEX_BENCHMARK_INVALIDATE (   sid)    do { } while(0)

Definition at line 155 of file Benchmarking.h.

Definition at line 110 of file Benchmarking.h.

#define DLVHEX_BENCHMARK_REGISTER_AND_SCOPE (   sid,
  msg 
)    do { } while(0)

Definition at line 161 of file Benchmarking.h.

Referenced by BaseModelGeneratorFactory::addDomainPredicatesAndCreateDomainExplorationProgram(), ExternalAtomVerificationTree::addNogood(), BaseModelGenerator::buildEAtomInputTuples(), CDNLSolver::CDNLSolver(), CheckLiberalSafetyState::checkLiberalSafety(), BaseModelGenerator::computeExtensionOfDomainPredicates(), AnswerSet::computeWeightVector(), AssumptionBasedUnfoundedSetChecker::constructUFSDetectionProblemAndInstantiateSolver(), ConvertState::convert(), CreateComponentGraphState::createComponentGraph(), CreateDependencyGraphState::createDependencyGraph(), CreateEvalGraphState::createEvalGraph(), BaseModelGenerator::evaluateExternalAtom(), BaseModelGenerator::evaluateExternalAtomQuery(), GenuineGuessAndCheckModelGenerator::finalCompatibilityCheck(), GenuineWellfoundedModelGenerator::generateNextModel(), WellfoundedModelGenerator::generateNextModel(), GenuinePlainModelGenerator::generateNextModel(), GuessAndCheckModelGenerator::generateNextModel(), GenuineGuessAndCheckModelGenerator::generateNextModel(), GenuineGuessAndCheckModelGenerator::GenuineGuessAndCheckModelGenerator(), GenuinePlainModelGenerator::GenuinePlainModelGenerator(), Interpretation::getHash(), GenuineSolver::getInstance(), ConcurrentQueueResults::getNextAnswerSet(), InternalGroundDASPSolver::getNextModel(), GenuineSolver::getNextModel(), InternalGroundASPSolver::getNextModel(), CDNLSolver::getNextModel(), EncodingBasedUnfoundedSetChecker::getUnfoundedSet(), UnfoundedSetCheckerManager::getUnfoundedSet(), GenuineGuessAndCheckModelGenerator::getWatchedLiteral(), AnnotatedGroundProgram::initialize(), GenuineGuessAndCheckModelGenerator::inlineExternalAtoms(), InternalGroundASPSolver::InternalGroundASPSolver(), InternalGrounder::InternalGrounder(), GenuineGuessAndCheckModelGenerator::isModel(), UnfoundedSetChecker::isUnfoundedSet(), ExternalLearningHelper::learnFromInputOutputBehavior(), ExternalLearningHelper::learnFromNegativeAtoms(), BaseModelGenerator::learnSupportSetsForExternalAtom(), main(), ModuleSyntaxCheckState::moduleSyntaxCheck(), EncodingBasedUnfoundedSetChecker::nogoodTransformation(), AssumptionBasedUnfoundedSetChecker::nogoodTransformation(), AnswerSetPrinterCallback::operator()(), CSVAnswerSetPrinterCallback::operator()(), ExternalLearningHelper::DefaultInputNogoodProvider::operator()(), OptimizeEDBDependencyGraphState::optimizeEDBDependencyGraph(), DLVResultParser::parse(), ParseState::parse(), PostProcessState::postProcess(), AnswerSet::print(), Registry::printAtomForUser(), AnswerSet::printWeightVector(), BaseModelGenerator::projectEAtomInputInterpretation(), PluginAtom::retrieveCached(), PluginAtom::retrieveFacade(), RewriteEDBIDBState::rewriteEDBIDB(), SafetyCheckState::safetyCheck(), SetupProgramCtxState::setupProgramCtx(), AnswerSet::strictlyBetterThan(), StrongSafetyCheckState::strongSafetyCheck(), GenuineGuessAndCheckModelGenerator::unfoundedSetCheck(), GenuineGuessAndCheckModelGenerator::unverifyExternalAtoms(), GenuineGuessAndCheckModelGenerator::updateEANogoods(), GenuineGuessAndCheckModelGenerator::verifyExternalAtom(), UnfoundedSetChecker::verifyExternalAtomByEvaluation(), GenuineGuessAndCheckModelGenerator::verifyExternalAtomByEvaluation(), and GenuineGuessAndCheckModelGenerator::verifyExternalAtomBySupportSets().

#define DLVHEX_BENCHMARK_REGISTER_AND_SCOPE_TPL (   sid,
  msg 
)    do { } while(0)

Definition at line 162 of file Benchmarking.h.

Referenced by FLPModelGeneratorBase::isSubsetMinimalFLPModel().

#define DLVHEX_BENCHMARK_REGISTER_AND_START (   sid,
  msg 
)    do { } while(0)
#define DLVHEX_BENCHMARK_SCOPE (   sid)    do { } while(0)

Definition at line 159 of file Benchmarking.h.

#define DLVHEX_BENCHMARK_SCOPE_TPL (   sid)    do { } while(0)

Definition at line 160 of file Benchmarking.h.

#define DLVHEX_BENCHMARK_SUSPEND (   sid)    do { } while(0)

Definition at line 156 of file Benchmarking.h.

#define DLVHEX_BENCHMARK_SUSPEND_SCOPE (   sid)    do { } while(0)

Definition at line 157 of file Benchmarking.h.