| 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<Map.Entry<String,Need>> |
getExecutionNeedEntryList(Process process,
ProcessingUnitDefinition puDefinition,
List<HwFeature> hwFeatures,
EMap<ModeLabel,ModeLiteral> modes)
Returns a list of all ExecutionNeeds for a given process
|
static List<Map.Entry<String,Need>> |
getExecutionNeedEntryList(Runnable runnable,
ProcessingUnitDefinition puDefinition,
List<HwFeature> hwFeatures,
EMap<ModeLabel,ModeLiteral> modes)
Returns a list of all ExecutionNeeds for a given runnable
|
static List<ExecutionNeed> |
getExecutionNeedsList(Process process,
EMap<ModeLabel,ModeLiteral> modes)
Returns a list of all RunnableExecutionNeeds for a given process
|
static List<ExecutionNeed> |
getExecutionNeedsList(Runnable runnable,
EMap<ModeLabel,ModeLiteral> modes)
Returns a list of all ExecutionNeeds 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,List<LabelAccessStatistic>> |
getLabelAccessStatisticsMap(Process process,
EMap<ModeLabel,ModeLiteral> modes)
Returns set of all accessed Labels with the corresponding LabelAccessStatistics for one Process
|
static Map<Label,List<LabelAccessStatistic>> |
getLabelAccessStatisticsMap(Runnable runnable,
EMap<ModeLabel,ModeLiteral> modes)
Set of all accessed Labels with the corresponding LabelAccessStatistics 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)
Returns 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,List<LabelAccessStatistic>> |
getReadLabelAccessStatisticsMap(Process process,
EMap<ModeLabel,ModeLiteral> modes)
Returns set of all read Labels with the corresponding LabelAccessStatistics for one Process
|
static Map<Label,List<LabelAccessStatistic>> |
getReadLabelAccessStatisticsMap(Runnable runnable,
EMap<ModeLabel,ModeLiteral> modes)
Set of all read Labels with the corresponding LabelAccessStatistics 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<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,List<LabelAccessStatistic>> |
getWriteLabelAccessStatisticsMap(Process process,
EMap<ModeLabel,ModeLiteral> modes)
Returns set of all written Labels with the corresponding LabelAccessStatistic for one Process
|
static Map<Label,List<LabelAccessStatistic>> |
getWriteLabelAccessStatisticsMap(Runnable runnable,
EMap<ModeLabel,ModeLiteral> modes)
Set of all written Labels with the corresponding LabelAccessStatistics 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 |