21 #ifndef OTAWA_CCG_BUILDER_H
22 #define OTAWA_CCG_BUILDER_H
24 #include <elm/assert.h>
25 #include <elm/genstruct/Table.h>
31 using namespace elm::genstruct;
45 {
for(
int i = 0; i < cnt; i++) ccgs[i] = 0; }
48 {
for(
int i = 0; i < ccgs.count(); i++)
if(ccgs[i])
delete ccgs[i]; }
49 inline int length(
void)
const {
return ccgs.count(); }
50 inline Graph *
get(
int index)
const {
return ccgs[index]; }
63 virtual void processWorkSpace(
WorkSpace *fw);
71 #endif // OTAWA_CCG_CCGBUILDER_H
~Collection(void)
Definition: Builder.h:47
Class to declare simple a processor.
Definition: Registration.h:213
Collection(int cnt)
Definition: Builder.h:44
Graph * operator[](int index) const
Definition: Builder.h:51
This processor builds the Cache Conflict Graph of the current task.
Definition: Builder.h:56
The processor class is implemented by all code processor.
Definition: Processor.h:49
A workspace represents a program, its run-time and all information about WCET computation or any othe...
Definition: WorkSpace.h:67
static p::declare reg
Definition: Builder.h:60
static Identifier< bool > NON_CONFLICT
Definition: Builder.h:58
int length(void) const
Definition: Builder.h:49
AllocatedTable< Graph * > ccgs
Definition: Builder.h:43
This class represents the list of l-blocks of a task for a chosen cache row.
Definition: features.h:75
Definition: features.h:107