36#ifndef TPG_INSTRUMENTED_FACTORY
37#define TPG_INSTRUMENTED_FACTORY
39#include "tpg/tpgFactory.h"
40#include "tpg/tpgGraph.h"
59 virtual std::unique_ptr<TPGTeam>
createTPGTeam()
const override;
63 const uint64_t
id)
const override;
68 const std::shared_ptr<Program::Program> prog)
const override;
The Environment class contains all information needed to execute a Program.
Definition environment.h:86
Factory for creating all elements constituting a TPG.
Definition tpgFactory.h:71
Class for storing a Tangled-Program-Graph.
Definition tpgGraph.h:58
Definition tpgInstrumentedFactory.h:51
virtual std::unique_ptr< TPGAction > createTPGAction(const uint64_t id) const override
Specialization of the method returning a TPGActionInstrumented.
Definition tpgInstrumentedFactory.cpp:54
virtual std::unique_ptr< TPGExecutionEngine > createTPGExecutionEngine(const Environment &env, Archive *arch=NULL) const override
Definition tpgInstrumentedFactory.cpp:69
virtual std::shared_ptr< TPGGraph > createTPGGraph(const Environment &env) const override
Definition tpgInstrumentedFactory.cpp:42
virtual std::unique_ptr< TPGTeam > createTPGTeam() const override
Specialization of the method returning a TPGTeamInstrumented.
Definition tpgInstrumentedFactory.cpp:49
void resetTPGGraphCounters(const TPG::TPGGraph &tpg) const
Reset all visit and traversal counters of a TPGGraph.
Definition tpgInstrumentedFactory.cpp:74
void clearUnusedTPGGraphElements(TPG::TPGGraph &tpg) const
Removes from the TPGGraph the vertices and edges that were never visited (since the last reset).
Definition tpgInstrumentedFactory.cpp:96
virtual std::unique_ptr< TPGEdge > createTPGEdge(const TPGVertex *src, const TPGVertex *dest, const std::shared_ptr< Program::Program > prog) const override
Specialization of the method returning a TPGEdgeInstrumented.
Definition tpgInstrumentedFactory.cpp:60
Abstract class representing the vertices of a TPGGraph.
Definition tpgVertex.h:55
Definition executionStats.h:44