Otawa  0.10
LinkedBlocksDetector.h
Go to the documentation of this file.
1 /*
2  * LinkedBlockDetector implementation
3  * Processor performing the non-conflicting lblocks detection
4  *
5  * This file is part of OTAWA
6  * Copyright (c) 2007, IRIT UPS.
7  *
8  * OTAWA is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 2 of the License, or
11  * (at your option) any later version.
12  *
13  * OTAWA is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with OTAWA; if not, write to the Free Software
20  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
21  * 02110-1301 USA
22  */
23 #ifndef CACHE_LINKEDBLOCKSDETECTOR_H_
24 #define CACHE_LINKEDBLOCKSDETECTOR_H_
25 
26 #include <otawa/proc/Processor.h>
28 #include <elm/genstruct/Vector.h>
29 #include <otawa/cache/LBlock.h>
30 #include <otawa/prop/Identifier.h>
31 #include <otawa/cache/categories.h>
32 
33 namespace otawa {
34 
35 extern Identifier<genstruct::Vector<LBlock*> *> LINKED_BLOCKS;
36 
37 // LinkedBlocksDetector class
39 public:
41  virtual void processWorkSpace(otawa::WorkSpace*);
42  virtual void configure(const PropList& props);
43 
44 private:
45  bool _explicit;
47  void recordBlocks(Vector<LBlock*> *equiv);
48 };
49 
50 }
51 
52 #endif
This class is used to store statistics about the categories about cache accesses. ...
Definition: categories.h:49
LinkedBlocksDetector(void)
Definition: cache_LinkedBlocksDetector.cpp:95
cache::CategoryStats * cstats
Definition: LinkedBlocksDetector.h:46
The processor class is implemented by all code processor.
Definition: Processor.h:49
void recordBlocks(Vector< LBlock * > *equiv)
!!TODO!!
Definition: cache_LinkedBlocksDetector.cpp:170
A workspace represents a program, its run-time and all information about WCET computation or any othe...
Definition: WorkSpace.h:67
Definition: LinkedBlocksDetector.h:38
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_LinkedBlocksDetector.cpp:106
virtual void processWorkSpace(otawa::WorkSpace *)
Process the given framework.
Definition: cache_LinkedBlocksDetector.cpp:115
Identifier< genstruct::Vector< LBlock * > * > LINKED_BLOCKS
!!TODO!!
This a list of properties.
Definition: PropList.h:63
bool _explicit
Definition: LinkedBlocksDetector.h:45