Otawa  0.10
CAT2ConstraintBuilder.h
Go to the documentation of this file.
1 /*
2  * CAT2ConstraintBuilder class interface
3  *
4  * This file is part of OTAWA
5  * Copyright (c) 2007, IRIT UPS.
6  *
7  * OTAWA is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2 of the License, or
10  * (at your option) any later version.
11  *
12  * OTAWA is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with OTAWA; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
20  * 02110-1301 USA
21  */
22 #ifndef OTAWA_CACHE_CAT2CONSTRAINTBUILDER_H_
23 #define OTAWA_CACHE_CAT2CONSTRAINTBUILDER_H_
24 
25 #include <otawa/proc/Processor.h>
26 #include <otawa/prop/Identifier.h>
27 
28 namespace otawa {
29 
31 public:
32  static p::declare reg;
34  virtual void configure(const PropList& props);
35  virtual void collectStats(WorkSpace *ws);
36 protected:
37  virtual void processWorkSpace(otawa::WorkSpace*);
38  bool _explicit;
39 };
40 
41 
43 public:
44  static p::declare reg;
46 protected:
47  virtual void processWorkSpace(otawa::WorkSpace*);
48 };
49 
50 } // otawa
51 
52 #endif /* OTAWA_CACHE_CAT2CONSTRAINTBUILDER_H_*/
CAT2OnlyConstraintBuilder(p::declare &r=reg)
Definition: cache_CAT2ConstraintBuilder.cpp:239
virtual void collectStats(WorkSpace *ws)
This method is invoked if the user has required to collect statistics about the processor.
Definition: cache_CAT2ConstraintBuilder.cpp:252
static p::declare reg
Definition: CAT2ConstraintBuilder.h:32
virtual void configure(const PropList &props)
This method may be called for configuring a processor thanks to information passed in the property li...
Definition: cache_CAT2ConstraintBuilder.cpp:244
Class to declare simple a processor.
Definition: Registration.h:213
WorkSpace * ws
Definition: Processor.h:185
The processor class is implemented by all code processor.
Definition: Processor.h:49
virtual void processWorkSpace(otawa::WorkSpace *)
Process the given framework.
Definition: cache_CAT2ConstraintBuilder.cpp:421
A workspace represents a program, its run-time and all information about WCET computation or any othe...
Definition: WorkSpace.h:67
This processor produces constraints, using the categorization of the L-Blocks, as provided by CAT2Onl...
Definition: CAT2ConstraintBuilder.h:42
static p::declare reg
Definition: CAT2ConstraintBuilder.h:44
This a list of properties.
Definition: PropList.h:63
Build the constraints to support categories of cat2 module.
Definition: CAT2ConstraintBuilder.h:30
bool _explicit
Definition: CAT2ConstraintBuilder.h:38
CAT2ConstraintBuilder(p::declare &r=reg)
Definition: cache_CAT2ConstraintBuilder.cpp:415
virtual void processWorkSpace(otawa::WorkSpace *)
Process the given framework.
Definition: cache_CAT2ConstraintBuilder.cpp:261