| Modifier and Type | Method and Description |
|---|---|
static EList<CallSequenceItem> |
collectCalls(Process process)
Traverse the call graph of a process and collect all items of the call sequences.
|
static EList<CallSequenceItem> |
collectCalls(Process process,
EMap<ModeLabel,ModeLiteral> modes)
Traverse the call graph of a process and collect all items of the call sequences.
|
static EList<CallSequenceItem> |
collectCalls(Process process,
EMap<ModeLabel,ModeLiteral> modes,
function.Function<CallSequenceItem,Boolean> filter)
Traverse the call graph of a process and collect all items of the call sequences.
|
static List<ClearEvent> |
collectClearEvents(Process process,
EMap<ModeLabel,ModeLiteral> modes)
collects a list of clear event calls for a process
|
static List<CallSequenceItem> |
collectEventsOfProcess(Process process,
EMap<ModeLabel,ModeLiteral> modes)
collects a list of callSequenceItems calling an event of a process
|
static EList<RunnableItem> |
collectRunnableItems(Runnable runnable)
Traverse the runnable items graph of a runnable and collect all items.
|
static EList<RunnableItem> |
collectRunnableItems(Runnable runnable,
EMap<ModeLabel,ModeLiteral> modes)
Traverse the runnable items graph of a runnable and collect all items.
|
static EList<RunnableItem> |
collectRunnableItems(Runnable runnable,
EMap<ModeLabel,ModeLiteral> modes,
function.Function<RunnableItem,Boolean> filter)
Traverse the runnable items graph of a runnable and collect all items.
|
static List<SetEvent> |
collectSetEvents(Process process,
EMap<ModeLabel,ModeLiteral> modes)
collects a list of set events calls for a process
|
static List<WaitEvent> |
collectWaitEvents(Process process,
EMap<ModeLabel,ModeLiteral> modes)
collects a list of wait event calls for a process
|
static Set<Label> |
getAccessedLabelSet(Process process,
EMap<ModeLabel,ModeLiteral> modes)
Set of Labels accessed by the process
|
static Set<Label> |
getAccessedLabelSet(Runnable runnable,
EMap<ModeLabel,ModeLiteral> modes)
Set of Labels accessed from a Runnable
|
static List<Runnable> |
getCalledRunnables(Runnable runnable,
EMap<ModeLabel,ModeLiteral> modes)
returns list of runnables directly called by the runnable
|
static List<Instructions> |
getInstructionsList(Process process,
CoreType coreType,
EMap<ModeLabel,ModeLiteral> modes)
returns a list of all Instructions for a given process
|
static List<Instructions> |
getInstructionsList(Runnable runnable,
CoreType coreType,
EMap<ModeLabel,ModeLiteral> modes)
returns a list of all Instructions for a given runnable
|
static List<Label> |
getInterTaskCommunication(Process sender,
Process receiver,
EMap<ModeLabel,ModeLiteral> modes)
This method returns a list of all exchanged labels that are written by the sender process and read by the receiver process
|
static float |
getLabelAccessCountFromStatistics(LabelAccess labelAcc,
RuntimeUtil.TimeType accType)
returns the number of label accesses from a statistic - the accType defines if the minimum, maximum or average accesses are returned
|
static List<LabelAccess> |
getLabelAccessList(Process process,
EMap<ModeLabel,ModeLiteral> modes)
List of all LabelAccesses from process
|
static List<LabelAccess> |
getLabelAccessList(Runnable runnable,
EMap<ModeLabel,ModeLiteral> modes)
List of all Label accessed from Runnable
|
static Map<Label,LabelAccessStatistic> |
getLabelAccessStatisticsMap(Process process,
EMap<ModeLabel,ModeLiteral> modes)
Set of all accessed Labels with the corresponding LabelAccessStatistic for one Process
|
static Map<Label,LabelAccessStatistic> |
getLabelAccessStatisticsMap(Runnable runnable,
EMap<ModeLabel,ModeLiteral> modes)
Set of all accessed Labels with the corresponding LabelAccessStatistic for one Runnable
|
static float |
getLabelReadCount(Label label,
Process process,
EMap<ModeLabel,ModeLiteral> modes,
RuntimeUtil.TimeType timeType)
returns the reads from a process to a certain label.
|
static Map<Label,List<LabelAccess>> |
getLabelToLabelAccessMap(Process process,
EMap<ModeLabel,ModeLiteral> modes)
Set of all accessed Labels with the corresponding LabelAccess for one Process
|
static Map<Label,List<LabelAccess>> |
getLabelToLabelAccessMap(Runnable runnable,
EMap<ModeLabel,ModeLiteral> modes)
Set of all Labels accessed from Runnable and the corresponding label accesses
|
static float |
getLabelWriteCount(Label label,
Process process,
EMap<ModeLabel,ModeLiteral> modes,
RuntimeUtil.TimeType timeType)
returns the writes from a process to a certain label.
|
static List<Process> |
getProcesses(Runnable runnable,
EMap<ModeLabel,ModeLiteral> modes)
returns a list of processes calling the runnable
|
static List<Runnable> |
getReaderListOfLabel(Label label,
EMap<ModeLabel,ModeLiteral> modes)
returns list of Runnables reading the label
|
static Set<Runnable> |
getReadersSetOfLabel(Label label,
EMap<ModeLabel,ModeLiteral> modes)
returns a set of Runnables reading the label
|
static List<LabelAccess> |
getReadLabelAccessesList(Runnable runnable,
EMap<ModeLabel,ModeLiteral> modes)
List of read label accesses by runnable
|
static Map<Label,LabelAccessStatistic> |
getReadLabelAccessStatisticMap(Process process,
EMap<ModeLabel,ModeLiteral> modes)
Set of all read Labels with the corresponding LabelAccessStatistic for one Process
|
static Map<Label,LabelAccessStatistic> |
getReadLabelAccessStatisticMap(Runnable runnable,
EMap<ModeLabel,ModeLiteral> modes)
Set of all read Labels with the corresponding LabelAccessStatistic for one Runnable
|
static Set<Label> |
getReadLabelSet(Process process,
EMap<ModeLabel,ModeLiteral> modes)
Set of labels read by the process
|
static Set<Label> |
getReadLabelSet(Runnable runnable,
EMap<ModeLabel,ModeLiteral> modes)
Set of labels read by runnable
|
static List<Runnable> |
getRunnableCallParents(Runnable runnable,
EMap<ModeLabel,ModeLiteral> modes)
returns list of runnables directly calling the runnable
|
static List<RunnableInstructions> |
getRunnableInstructionsList(Process process,
EMap<ModeLabel,ModeLiteral> modes)
returns a list of all RunnableInstructions for a given process
|
static List<RunnableInstructions> |
getRunnableInstructionsList(Runnable runnable,
EMap<ModeLabel,ModeLiteral> modes)
returns a list of all RunnableInstructions for a given runnable
|
static List<Runnable> |
getRunnableList(Process process,
EMap<ModeLabel,ModeLiteral> modes)
returns a list of runnables called by the process
|
static Set<Runnable> |
getRunnableSet(Process process,
EMap<ModeLabel,ModeLiteral> modes)
returns a Set of runnables called by the process - no duplicates
|
static Set<ServerCall> |
getServerCallSet(Process process,
EMap<ModeLabel,ModeLiteral> modes)
returns a set of ServerCalls for a process
|
static Set<ServerCall> |
getServerCallSet(Runnable runnable,
EMap<ModeLabel,ModeLiteral> modes)
returns a set of ServerCalls for a runnable
|
static List<LabelAccess> |
getWriteLabelAccessList(Runnable runnable,
EMap<ModeLabel,ModeLiteral> modes)
List of write LabelAccesses from a runnable
|
static Map<Label,LabelAccessStatistic> |
getWriteLabelAccessStatisticMap(Process process,
EMap<ModeLabel,ModeLiteral> modes)
Set of all written Labels with the corresponding LabelAccessStatistic for one Process
|
static Map<Label,LabelAccessStatistic> |
getWriteLabelAccessStatisticMap(Runnable runnable,
EMap<ModeLabel,ModeLiteral> modes)
Set of all written Labels with the corresponding LabelAccessStatistic for one Runnable
|
static Set<Label> |
getWriteLabelSet(Process process,
EMap<ModeLabel,ModeLiteral> modes)
Set of labels written by the process
|
static Set<Label> |
getWriteLabelSet(Runnable runnable,
EMap<ModeLabel,ModeLiteral> modes)
Set of labels written by runnable
|
static List<Runnable> |
getWriterListOfLabel(Label label,
EMap<ModeLabel,ModeLiteral> modes)
returns list of runnables writing the label
|
static Set<Runnable> |
getWriterSetOfLabel(Label label,
EMap<ModeLabel,ModeLiteral> modes)
returns set of runnables writing the label
|