23 #ifndef OTAWA_PROG_WORK_SPACE_H
24 #define OTAWA_PROG_WORK_SPACE_H
26 #include <elm/system/Path.h>
27 #include <elm/genstruct/Vector.h>
31 namespace elm {
namespace xom {
38 using namespace elm::genstruct;
41 class AbstractFeature;
42 class FeatureDependency;
55 class CacheConfiguration;
79 string format(
Address addr,
bool with_address =
true);
83 void loadConfig(
const elm::system::Path& path);
95 inline void cancel(
void) { cancelled =
true; }
106 CFG *getStartCFG(
void);
123 #endif // OTAWA_PROG_WORK_SPACE_H
const int config
Definition: Registration.h:48
virtual Manager * manager(void)
Definition: WorkSpace.h:76
static const PropList EMPTY
This is an empty proplist for convenience.
Definition: PropList.h:66
feat_map_t featMap
Definition: WorkSpace.h:117
bool isCancelled(void) const
Test if the cancel() method has been called on the workspace.
Definition: WorkSpace.h:96
const int provide
Definition: Registration.h:44
Control Flow Graph representation.
Definition: CFG.h:42
StringOption proc(command, 'p',"processor","used processor","path","")
The manager class providesfacilities for storing, grouping and retrieving shared resources like loade...
Definition: Manager.h:58
void cancel(void)
Informs the current computation to stop as soon as possible.
Definition: WorkSpace.h:95
Process * process(void) const
Definition: WorkSpace.h:72
virtual hard::Platform * platform(void)
Definition: WorkSpace.h:75
A feature dependency represents the dependencies used to implement a feature and is a node of the dep...
Definition: FeatureDependency.h:35
A workspace represents a program, its run-time and all information about WCET computation or any othe...
Definition: WorkSpace.h:67
bool cancelled
Definition: WorkSpace.h:118
A process is the realization of a program on a platform.
Definition: Process.h:136
The representation of an address in OTAWA.
Definition: base.h:54
This class stores all the function known for the current framework.
Definition: ASTInfo.h:34
const int require
Definition: Registration.h:43
StringOption cache(command, 'c',"cache","used cache","path","")
virtual Inst * start(void)
Definition: WorkSpace.h:77
const int invalidate
Definition: Registration.h:45
void clearCancellation(void)
Reset the cancellation bit.
Definition: WorkSpace.h:94
virtual Inst * findInstAt(address_t addr)
Definition: WorkSpace.h:78
This class represents assembly instruction of a piece of code.
Definition: Inst.h:62
HashTable< const AbstractFeature *, FeatureDependency * > feat_map_t
Definition: WorkSpace.h:116
See Feature.
Definition: AbstractFeature.h:36
This allows storing all CFG available in a workspace.
Definition: CFGInfo.h:29
This a list of properties.
Definition: PropList.h:63
An ILP system is a colletion of ILP constraint that may maximize or minimize some object function...
Definition: System.h:42
intn_t max(intn_t a, intn_t b)
Return the max with a signed comparison.
Definition: clp_analysis.cpp:180
This class represents the full configuration of caches of a processor.
Definition: CacheConfiguration.h:37
AutoPtr< Process > proc
Definition: WorkSpace.h:115