|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.krep.evalbench.trace.TraceList
public class TraceList
A list of different independent traces, as they are for example stored in esi files.
Constructor Summary | |
---|---|
TraceList()
generate an empty trace list. |
|
TraceList(IAssembler asm,
String baseName)
Read a trace list from a trace file. |
Method Summary | |
---|---|
static void |
addListener(ITraceListener listener)
Adds a new trace listener that is notified of tick events. |
boolean |
executeStep(ICommunicationProtocol krep)
Execute one step of the current trace. |
LinkedList<String[]> |
getTable()
|
int |
getTablePos()
|
String |
getWCRT()
|
boolean |
hasNext()
|
boolean |
isValid()
|
Tick |
next()
|
int |
nextIndex()
|
static void |
notifyListeners(boolean newTrace)
notify all listeners, that the status of the trace has changed. |
static void |
removeListener(ITraceListener listener)
remove a trace listener. |
void |
reset()
reset current position to first tick in first trace, delete all output. |
void |
setOutput(Tick output)
|
int |
size()
|
boolean |
validateCurrent()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TraceList(IAssembler asm, String baseName)
asm
- Assembler, for which the test is. This is needed to generate signal indices.baseName
- name of the trace file without the file suffixpublic TraceList()
Method Detail |
---|
public boolean hasNext()
public Tick next()
public int nextIndex()
public void reset()
public int getTablePos()
public LinkedList<String[]> getTable()
public static void addListener(ITraceListener listener)
listener
- listener to be addedpublic static void removeListener(ITraceListener listener)
listener
- to removepublic static void notifyListeners(boolean newTrace)
newTrace
- true if the complete trace has changed, false if only the current step changedpublic void setOutput(Tick output)
output
- the new output for this tickpublic boolean validateCurrent()
public boolean executeStep(ICommunicationProtocol krep) throws CommunicationException
krep
- connection to a processor. It is assumed that the program was already loaded on
the processor.
CommunicationException
- thrown for any communication errorspublic final boolean isValid()
public String getWCRT()
public int size()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |