Otawa  0.10
ACSMayBuilder.h
Go to the documentation of this file.
1 /*
2  * ACSMayBuilder 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_ACSMAYBUILDER_H_
23 #define OTAWA_CACHE_ACSMAYBUILDER_H_
24 
25 #include <otawa/prop/Identifier.h>
26 #include <otawa/proc/Processor.h>
27 #include <otawa/hard/Cache.h>
28 #include <otawa/cache/LBlockSet.h>
29 #include <elm/genstruct/Vector.h>
30 #include "features.h"
31 
32 namespace otawa {
33 
34 using namespace elm;
35 
37 public:
38  static p::declare reg;
39  ACSMayBuilder(p::declare& r = reg);
40  virtual void processWorkSpace(otawa::WorkSpace*);
41  virtual void configure(const PropList &props);
42 
43 private:
44  void processLBlockSet(otawa::WorkSpace*, LBlockSet *, const hard::Cache *);
45  bool unrolling;
47 };
48 
49 } // otawa
50 
51 #endif /* OTAWA_CACHE_ACSMAYBUILDER_H_*/
Class to declare simple a processor.
Definition: Registration.h:213
static p::declare reg
Definition: ACSMayBuilder.h:38
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
This class contains the configuration of a level of cache of processor.
Definition: Cache.h:34
This class represents the list of l-blocks of a task for a chosen cache row.
Definition: LBlockSet.h:38
genstruct::Vector< MAYProblem::Domain * > * may_entry
Definition: ACSMayBuilder.h:46
This a list of properties.
Definition: PropList.h:63
This processor produces the Abstract Cache States (ACS), for the MAY ACS.
Definition: ACSMayBuilder.h:36
bool unrolling
Definition: ACSMayBuilder.h:45