36#ifndef TPG_EDGE_INSTRUMENTED_H
37#define TPG_EDGE_INSTRUMENTED_H
42#include "tpg/tpgEdge.h"
55 const std::shared_ptr<Program::Program> prog)
Instrumented TPGEdge class to keep track of a TPG execution statistics.
Definition tpgEdgeInstrumented.h:51
uint64_t getNbTraversal() const
Get the number of time a TPGEdge was traversed.
Definition tpgEdgeInstrumented.cpp:48
std::atomic_uint64_t nbVisits
Definition tpgEdgeInstrumented.h:96
uint64_t getNbVisits() const
Get the number of time a TPGEdge was visited.
Definition tpgEdgeInstrumented.cpp:38
TPGEdgeInstrumented(const TPGVertex *src, const TPGVertex *dest, const std::shared_ptr< Program::Program > prog)
Default constructor.
Definition tpgEdgeInstrumented.h:54
std::atomic_uint64_t nbTraversal
Definition tpgEdgeInstrumented.h:102
void reset() const
Reset the instrumentation attributes.
Definition tpgEdgeInstrumented.cpp:58
void incrementNbVisits() const
Add one to the number of visits for this TPGEdge.
Definition tpgEdgeInstrumented.cpp:43
void incrementNbTraversal() const
Add one to the number of traversal for this TPGEdge.
Definition tpgEdgeInstrumented.cpp:53
Class representing edges of the Tangled Program Graphs.
Definition tpgEdge.h:54
Abstract class representing the vertices of a TPGGraph.
Definition tpgVertex.h:55
Definition executionStats.h:44