|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.uci.eecs.doc.clepsydra.ipet.IPETAnalysisStrategy
public class IPETAnalysisStrategy
This WCET analysis strategy formulates the analysis as an integer linear programming (ILP) problem and uses a standard ILP solver to compute the solution. For more details of how this done, see WCET Analysis for a Java Processor by Martin Schoeberl and Rasmus Pedersen.
Constructor Summary | |
---|---|
IPETAnalysisStrategy(ILPSolver solver,
InstructionTimingStrategy instructionTimings,
LoopBoundStrategy loopBounds,
MethodCacheStrategy methodCache)
Creates a new IPETAnalysisStrategy object. |
|
IPETAnalysisStrategy(ILPSolver solver,
InstructionTimingStrategy instructionTimings,
LoopBoundStrategy loopBounds,
MethodCacheStrategy methodCache,
File outputDirectory)
Creates a new IPETAnalysisStrategy object. |
Method Summary | |
---|---|
int |
getWCET(Tree tree,
Graph graph)
Computes an upper bound on the WCET of the given method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IPETAnalysisStrategy(ILPSolver solver, InstructionTimingStrategy instructionTimings, LoopBoundStrategy loopBounds, MethodCacheStrategy methodCache, File outputDirectory)
solver
- the ILP solver to use to compute the solutioninstructionTimings
- a model of the temporal properties of the target CPUloopBounds
- a strategy for computing the upper bound on loopsmethodCache
- a strategy for modeling the method cacheoutputDirectory
- if non-null, the ILP model data will be saved to a file
in this directorypublic IPETAnalysisStrategy(ILPSolver solver, InstructionTimingStrategy instructionTimings, LoopBoundStrategy loopBounds, MethodCacheStrategy methodCache)
solver
- the ILP solver to use to compute the solutioninstructionTimings
- a model of the temporal properties of the target CPUloopBounds
- a strategy for computing the upper bound on loopsmethodCache
- a strategy for modeling the method cacheMethod Detail |
---|
public int getWCET(Tree tree, Graph graph) throws UnknownTimingException, UnknownLoopBoundException
getWCET
in interface AnalysisStrategy
tree
- this parameter is ignoredgraph
- the control flow graph of the method
UnknownTimingException
- if the method contains an instruction whose
timing is unknown
UnknownLoopBoundException
- if the method contains a loop whose upper
bound cannot be determined
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |