Otawa  0.10
TrivialDataCacheManager.h
Go to the documentation of this file.
1 /*
2  * $Id$
3  * Copyright (c) 2005-06, IRIT UPS.
4  *
5  * TrivialDataCacheManager class interface
6  */
7 #ifndef OTAWA_IPET_TRIVIAL_DATA_CACHE_MANAGER_H
8 #define OTAWA_IPET_TRIVIAL_DATA_CACHE_MANAGER_H
9 
10 #include <elm/assert.h>
11 #include <otawa/proc/BBProcessor.h>
12 #include <otawa/proc/Feature.h>
13 
14 namespace otawa { namespace ipet {
15 
16 // TrivialBBTime class
19  int time;
20  void configure(WorkSpace *fw);
21 
22 protected:
23  virtual void processBB(WorkSpace *fw, CFG *cfg, BasicBlock *bb);
24 
25 public:
27 };
28 
29 } } // otawa::ipet
30 
31 #endif // OTAWA_IPET_TRIVIAL_DATA_CACHE_MANAGER_H
32 
int time
Definition: TrivialDataCacheManager.h:19
virtual void processBB(WorkSpace *fw, CFG *cfg, BasicBlock *bb)
Perform the work of the given basic block.
Definition: ipet_CacheSupport.cpp:140
This processor is dedicated to the basic block process thru proccessBB() method.
Definition: BBProcessor.h:72
CFG * cfg(void) const
Get the current CFG.
Definition: CFGProcessor.h:56
TrivialDataCacheManager(void)
Build the trivial data cache manager.
Definition: ipet_CacheSupport.cpp:130
dtd::Element bb(dtd::make("bb", _BB).attr(id).attr(address).attr(size))
WorkSpace * fw
Definition: TrivialDataCacheManager.h:18
Control Flow Graph representation.
Definition: CFG.h:42
void configure(WorkSpace *fw)
Definition: ipet_CacheSupport.cpp:116
A workspace represents a program, its run-time and all information about WCET computation or any othe...
Definition: WorkSpace.h:67
This is the minimal definition of a basic block.
Definition: BasicBlock.h:43
This processor apply a simple method for managing data cache in IPET method.
Definition: TrivialDataCacheManager.h:17