1#ifndef TPG_EDGE_INSTRUMENTED_H
2#define TPG_EDGE_INSTRUMENTED_H
7#include "tpg/tpgEdge.h"
20 const std::shared_ptr<Program::Program> prog)
Instrumented TPGEdge class to keep track of a TPG execution statistics.
Definition: tpgEdgeInstrumented.h:16
uint64_t getNbTraversal() const
Get the number of time a TPGEdge was traversed.
Definition: tpgEdgeInstrumented.cpp:13
std::atomic_uint64_t nbVisits
Definition: tpgEdgeInstrumented.h:61
uint64_t getNbVisits() const
Get the number of time a TPGEdge was visited.
Definition: tpgEdgeInstrumented.cpp:3
TPGEdgeInstrumented(const TPGVertex *src, const TPGVertex *dest, const std::shared_ptr< Program::Program > prog)
Default constructor.
Definition: tpgEdgeInstrumented.h:19
std::atomic_uint64_t nbTraversal
Definition: tpgEdgeInstrumented.h:67
void reset() const
Reset the instrumentation attributes.
Definition: tpgEdgeInstrumented.cpp:23
void incrementNbVisits() const
Add one to the number of visits for this TPGEdge.
Definition: tpgEdgeInstrumented.cpp:8
void incrementNbTraversal() const
Add one to the number of traversal for this TPGEdge.
Definition: tpgEdgeInstrumented.cpp:18
Class representing edges of the Tangled Program Graphs.
Definition: tpgEdge.h:51
Abstract class representing the vertices of a TPGGraph.
Definition: tpgVertex.h:49
Definition: tpgActionInstrumented.h:8