| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="de"> |
| <head> |
| <!-- Generated by javadoc (1.8.0_232) on Mon Feb 03 14:26:20 CET 2020 --> |
| <title>RuntimeUtil</title> |
| <meta name="date" content="2020-02-03"> |
| <link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style"> |
| </head> |
| <body> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">org.eclipse.app4mc.amalthea.model.util</div> |
| <h2 title="Class RuntimeUtil" class="title">Class RuntimeUtil</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li>Object</li> |
| <li> |
| <ul class="inheritance"> |
| <li>RuntimeUtil</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <hr> |
| <br> |
| <pre>public class <span class="typeNameLabel">RuntimeUtil</span> |
| extends Object</pre> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="nested.class.summary"> |
| <!-- --> |
| </a> |
| <h3>Nested Class Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation"> |
| <caption><span>Nested Classes</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Class and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static class </code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="RuntimeUtil.AccessDirection.html" title="enum in org.eclipse.app4mc.amalthea.model.util">RuntimeUtil.AccessDirection</a></span></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static class </code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="RuntimeUtil.PositionType.html" title="enum in org.eclipse.app4mc.amalthea.model.util">RuntimeUtil.PositionType</a></span></code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static class </code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="RuntimeUtil.TimeType.html" title="enum in org.eclipse.app4mc.amalthea.model.util">RuntimeUtil.TimeType</a></span></code> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colOne" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="#RuntimeUtil--">RuntimeUtil</a></span>()</code> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code>static Runnable</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="#addRuntimeToProcessAsNewRunnable-org.eclipse.app4mc.amalthea.model.Process-org.eclipse.app4mc.amalthea.model.ExecutionNeed-java.lang.String-org.eclipse.app4mc.amalthea.model.util.RuntimeUtil.PositionType-">addRuntimeToProcessAsNewRunnable</a></span>(Process process, |
| ExecutionNeed need, |
| String runnableName, |
| <a href="RuntimeUtil.PositionType.html" title="enum in org.eclipse.app4mc.amalthea.model.util">RuntimeUtil.PositionType</a> positon)</code> |
| <div class="block">Creates a new Runnable with the given runtime at beginning / end of the given process</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>static Runnable</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="#addRuntimeToProcessAsNewRunnable-org.eclipse.app4mc.amalthea.model.Process-org.eclipse.app4mc.amalthea.model.Ticks-java.lang.String-org.eclipse.app4mc.amalthea.model.util.RuntimeUtil.PositionType-">addRuntimeToProcessAsNewRunnable</a></span>(Process process, |
| Ticks ticks, |
| String runnableName, |
| <a href="RuntimeUtil.PositionType.html" title="enum in org.eclipse.app4mc.amalthea.model.util">RuntimeUtil.PositionType</a> positon)</code> |
| <div class="block">Creates a new Runnable with the given runtime at beginning / end of the given process</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="#addRuntimeToRunnable-org.eclipse.app4mc.amalthea.model.Runnable-org.eclipse.app4mc.amalthea.model.ExecutionNeed-">addRuntimeToRunnable</a></span>(Runnable runnable, |
| ExecutionNeed need)</code> |
| <div class="block">Adds Runtime (given as ExecutionNeed) to an existing Runnable currently |
| without consideration of modes</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="#addRuntimeToRunnable-org.eclipse.app4mc.amalthea.model.Runnable-org.eclipse.app4mc.amalthea.model.Ticks-">addRuntimeToRunnable</a></span>(Runnable runnable, |
| Ticks ticks)</code> |
| <div class="block">Adds Runtime (given as Ticks) to an existing Runnable currently |
| without consideration of modes</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="#clearRuntimeOfModel-org.eclipse.app4mc.amalthea.model.Amalthea-org.eclipse.emf.common.util.EMap-">clearRuntimeOfModel</a></span>(Amalthea model, |
| EMap<ModeLabel,String> modes)</code> |
| <div class="block">Clears all runtime information (execution needs and ticks)</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="#clearRuntimeOfProcess-org.eclipse.app4mc.amalthea.model.Process-org.eclipse.emf.common.util.EMap-">clearRuntimeOfProcess</a></span>(Process process, |
| EMap<ModeLabel,String> modes)</code> |
| <div class="block">Clears all runtime information (execution needs and ticks)</div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="#clearRuntimeOfRunnable-org.eclipse.app4mc.amalthea.model.Runnable-org.eclipse.emf.common.util.EMap-">clearRuntimeOfRunnable</a></span>(Runnable runnable, |
| EMap<ModeLabel,String> modes)</code> |
| <div class="block">Clears all runtime information (execution needs and ticks)</div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>static Map<Process,Double></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="#getCumulativeProcessUtilizations-org.eclipse.app4mc.amalthea.model.Amalthea-org.eclipse.app4mc.amalthea.model.util.RuntimeUtil.TimeType-java.util.List-org.eclipse.emf.common.util.EMap-">getCumulativeProcessUtilizations</a></span>(Amalthea model, |
| <a href="RuntimeUtil.TimeType.html" title="enum in org.eclipse.app4mc.amalthea.model.util">RuntimeUtil.TimeType</a> tt, |
| List<HwFeature> hwFeatures, |
| EMap<ModeLabel,String> modes)</code> |
| <div class="block">Returns the cumulative process utilization, i.e. runtime on every procUnit summed up</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>static Time</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="#getExecutionTimeForCycles-double-org.eclipse.app4mc.amalthea.model.Frequency-">getExecutionTimeForCycles</a></span>(double ticks, |
| Frequency frequency)</code> |
| <div class="block">Computes time for a number of ticks with a given frequency</div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code>static Time</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="#getExecutionTimeForExecutionNeedEntry-org.eclipse.app4mc.amalthea.model.IDiscreteValueDeviation-org.eclipse.app4mc.amalthea.model.HwFeatureCategory-org.eclipse.app4mc.amalthea.model.ProcessingUnit-org.eclipse.app4mc.amalthea.model.util.RuntimeUtil.TimeType-">getExecutionTimeForExecutionNeedEntry</a></span>(IDiscreteValueDeviation deviation, |
| HwFeatureCategory hwFeatureCategory, |
| ProcessingUnit processingUnit, |
| <a href="RuntimeUtil.TimeType.html" title="enum in org.eclipse.app4mc.amalthea.model.util">RuntimeUtil.TimeType</a> executionCase)</code> |
| <div class="block">Computes time for specific execution need entry on a given processing unit</div> |
| </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code>static Time</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="#getExecutionTimeForExecutionNeeds-org.eclipse.app4mc.amalthea.model.ExecutionNeed-org.eclipse.app4mc.amalthea.model.ProcessingUnit-org.eclipse.app4mc.amalthea.model.util.RuntimeUtil.TimeType-">getExecutionTimeForExecutionNeeds</a></span>(ExecutionNeed need, |
| ProcessingUnit processingUnit, |
| <a href="RuntimeUtil.TimeType.html" title="enum in org.eclipse.app4mc.amalthea.model.util">RuntimeUtil.TimeType</a> executionCase)</code> |
| <div class="block">Computes time for execution needs on a given processing unit</div> |
| </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code>static Time</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="#getExecutionTimeForProcess-org.eclipse.app4mc.amalthea.model.Process-org.eclipse.emf.common.util.EMap-org.eclipse.app4mc.amalthea.model.util.RuntimeUtil.TimeType-">getExecutionTimeForProcess</a></span>(Process process, |
| EMap<ModeLabel,String> modes, |
| <a href="RuntimeUtil.TimeType.html" title="enum in org.eclipse.app4mc.amalthea.model.util">RuntimeUtil.TimeType</a> executionCase)</code> |
| <div class="block">Computes the execution time of a Process (Task or ISR) - unique mapping is required</div> |
| </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code>static Time</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="#getExecutionTimeForProcess-org.eclipse.app4mc.amalthea.model.Process-org.eclipse.app4mc.amalthea.model.ProcessingUnit-org.eclipse.emf.common.util.EMap-org.eclipse.app4mc.amalthea.model.util.RuntimeUtil.TimeType-">getExecutionTimeForProcess</a></span>(Process process, |
| ProcessingUnit processingUnit, |
| EMap<ModeLabel,String> modes, |
| <a href="RuntimeUtil.TimeType.html" title="enum in org.eclipse.app4mc.amalthea.model.util">RuntimeUtil.TimeType</a> executionCase)</code> |
| <div class="block">Computes the execution time of a Process (Task or ISR) on a given processing unit</div> |
| </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code>static Time</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="#getExecutionTimeForRunnable-org.eclipse.app4mc.amalthea.model.Runnable-org.eclipse.app4mc.amalthea.model.ProcessingUnit-org.eclipse.emf.common.util.EMap-org.eclipse.app4mc.amalthea.model.util.RuntimeUtil.TimeType-">getExecutionTimeForRunnable</a></span>(Runnable runnable, |
| ProcessingUnit processingUnit, |
| EMap<ModeLabel,String> modes, |
| <a href="RuntimeUtil.TimeType.html" title="enum in org.eclipse.app4mc.amalthea.model.util">RuntimeUtil.TimeType</a> executionCase)</code> |
| <div class="block">Computes the execution time of a Runnable on a given processing unit</div> |
| </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code>static Time</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="#getExecutionTimeForTicks-org.eclipse.app4mc.amalthea.model.Ticks-org.eclipse.app4mc.amalthea.model.ProcessingUnit-org.eclipse.app4mc.amalthea.model.util.RuntimeUtil.TimeType-">getExecutionTimeForTicks</a></span>(Ticks ticks, |
| ProcessingUnit processingUnit, |
| <a href="RuntimeUtil.TimeType.html" title="enum in org.eclipse.app4mc.amalthea.model.util">RuntimeUtil.TimeType</a> executionCase)</code> |
| <div class="block">Computes time for ticks on a given processing unit</div> |
| </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code>static Time</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="#getExecutionTimeForTicksDeviation-org.eclipse.app4mc.amalthea.model.IDiscreteValueDeviation-org.eclipse.app4mc.amalthea.model.ProcessingUnit-org.eclipse.app4mc.amalthea.model.util.RuntimeUtil.TimeType-">getExecutionTimeForTicksDeviation</a></span>(IDiscreteValueDeviation deviation, |
| ProcessingUnit processingUnit, |
| <a href="RuntimeUtil.TimeType.html" title="enum in org.eclipse.app4mc.amalthea.model.util">RuntimeUtil.TimeType</a> executionCase)</code> |
| <div class="block">Computes time for ticks on a given processing unit</div> |
| </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code>static Map<Process,List<Time>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="#getPeriodsOfAllProcesses-org.eclipse.app4mc.amalthea.model.Amalthea-org.eclipse.app4mc.amalthea.model.util.RuntimeUtil.TimeType-org.eclipse.emf.common.util.EMap-">getPeriodsOfAllProcesses</a></span>(Amalthea model, |
| <a href="RuntimeUtil.TimeType.html" title="enum in org.eclipse.app4mc.amalthea.model.util">RuntimeUtil.TimeType</a> tt, |
| EMap<ModeLabel,String> modes)</code> |
| <div class="block">Gets all Period ranges from the model</div> |
| </td> |
| </tr> |
| <tr id="i17" class="rowColor"> |
| <td class="colFirst"><code>static List<Time></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="#getPeriodsOfProcess-org.eclipse.app4mc.amalthea.model.Process-org.eclipse.app4mc.amalthea.model.util.RuntimeUtil.TimeType-org.eclipse.emf.common.util.EMap-">getPeriodsOfProcess</a></span>(Process process, |
| <a href="RuntimeUtil.TimeType.html" title="enum in org.eclipse.app4mc.amalthea.model.util">RuntimeUtil.TimeType</a> tt, |
| EMap<ModeLabel,String> modes)</code> |
| <div class="block">Returns a list of all triggering periods.</div> |
| </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <td class="colFirst"><code>static <T> Map<Stimulus,Long></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="#getPlainTriggerForProcess-org.eclipse.app4mc.amalthea.model.Process-long-java.util.function.Function-">getPlainTriggerForProcess</a></span>(Process process, |
| long depthCounter, |
| Function<Stimulus,Boolean> filter)</code> |
| <div class="block">Returns all stimuli (matching filter) that trigger the given process</div> |
| </td> |
| </tr> |
| <tr id="i19" class="rowColor"> |
| <td class="colFirst"><code>static <T> Map<Process,Map<Stimulus,Long>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="#getPlainTriggersForModel-org.eclipse.app4mc.amalthea.model.Amalthea-java.util.function.Function-">getPlainTriggersForModel</a></span>(Amalthea model, |
| Function<Stimulus,Boolean> filter)</code> |
| <div class="block">Returns a map from process to all stimuli (matching filter) that |
| lead to that process with the correct prescaler</div> |
| </td> |
| </tr> |
| <tr id="i20" class="altColor"> |
| <td class="colFirst"><code>static Map<Process,List<ITimeDeviation>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="#getProcessesWithRelativePeriodicStimulus-org.eclipse.app4mc.amalthea.model.Amalthea-">getProcessesWithRelativePeriodicStimulus</a></span>(Amalthea model)</code> |
| <div class="block">Returns a Map of all sporadically triggered processes with their prescaler</div> |
| </td> |
| </tr> |
| <tr id="i21" class="rowColor"> |
| <td class="colFirst"><code>static Map<Process,List<Time>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="#getProcessesWithRelativePeriodicStimulus-org.eclipse.app4mc.amalthea.model.Amalthea-org.eclipse.app4mc.amalthea.model.util.RuntimeUtil.TimeType-">getProcessesWithRelativePeriodicStimulus</a></span>(Amalthea model, |
| <a href="RuntimeUtil.TimeType.html" title="enum in org.eclipse.app4mc.amalthea.model.util">RuntimeUtil.TimeType</a> tt)</code> |
| <div class="block">Returns a Map of all sporadically triggered processes with their prescaler</div> |
| </td> |
| </tr> |
| <tr id="i22" class="altColor"> |
| <td class="colFirst"><code>static Map<ProcessingUnit,Double></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="#getProcessUtilization-org.eclipse.app4mc.amalthea.model.Process-org.eclipse.app4mc.amalthea.model.Amalthea-org.eclipse.app4mc.amalthea.model.util.RuntimeUtil.TimeType-java.util.List-org.eclipse.emf.common.util.EMap-">getProcessUtilization</a></span>(Process process, |
| Amalthea model, |
| <a href="RuntimeUtil.TimeType.html" title="enum in org.eclipse.app4mc.amalthea.model.util">RuntimeUtil.TimeType</a> tt, |
| List<HwFeature> hwFeatures, |
| EMap<ModeLabel,String> modes)</code> |
| <div class="block">Calculates the utilization for a given process</div> |
| </td> |
| </tr> |
| <tr id="i23" class="rowColor"> |
| <td class="colFirst"><code>static double</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="#getProcessUtilization-org.eclipse.app4mc.amalthea.model.Process-org.eclipse.app4mc.amalthea.model.ProcessingUnit-org.eclipse.app4mc.amalthea.model.Amalthea-org.eclipse.app4mc.amalthea.model.util.RuntimeUtil.TimeType-java.util.List-org.eclipse.emf.common.util.EMap-">getProcessUtilization</a></span>(Process process, |
| ProcessingUnit procUnit, |
| Amalthea model, |
| <a href="RuntimeUtil.TimeType.html" title="enum in org.eclipse.app4mc.amalthea.model.util">RuntimeUtil.TimeType</a> tt, |
| List<HwFeature> hwFeatures, |
| EMap<ModeLabel,String> modes)</code> |
| <div class="block">Calculates the utilization for a given process on a given procUnit |
| |
| Assumption (wrong): All triggers activate the process on all procUnits together!</div> |
| </td> |
| </tr> |
| <tr id="i24" class="altColor"> |
| <td class="colFirst"><code>static double</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="#getProcessUtilization-org.eclipse.app4mc.amalthea.model.Process-org.eclipse.app4mc.amalthea.model.Time-org.eclipse.app4mc.amalthea.model.util.RuntimeUtil.TimeType-org.eclipse.emf.common.util.EMap-">getProcessUtilization</a></span>(Process process, |
| Time period, |
| <a href="RuntimeUtil.TimeType.html" title="enum in org.eclipse.app4mc.amalthea.model.util">RuntimeUtil.TimeType</a> tt, |
| EMap<ModeLabel,String> modes)</code> |
| <div class="block">Calculates the process utilization</div> |
| </td> |
| </tr> |
| <tr id="i25" class="rowColor"> |
| <td class="colFirst"><code>static double</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="#getProcUnitUtilization-org.eclipse.app4mc.amalthea.model.ProcessingUnit-org.eclipse.app4mc.amalthea.model.Amalthea-org.eclipse.app4mc.amalthea.model.util.RuntimeUtil.TimeType-java.util.List-org.eclipse.emf.common.util.EMap-">getProcUnitUtilization</a></span>(ProcessingUnit procUnit, |
| Amalthea model, |
| <a href="RuntimeUtil.TimeType.html" title="enum in org.eclipse.app4mc.amalthea.model.util">RuntimeUtil.TimeType</a> tt, |
| List<HwFeature> hwFeatures, |
| EMap<ModeLabel,String> modes)</code> |
| <div class="block">Calculates the utilization for a given procUnit</div> |
| </td> |
| </tr> |
| <tr id="i26" class="altColor"> |
| <td class="colFirst"><code>static HashMap<Stimulus,Long></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="#getTriggeredStimuli-org.eclipse.app4mc.amalthea.model.Process-org.eclipse.emf.common.util.EMap-">getTriggeredStimuli</a></span>(Process process, |
| EMap<ModeLabel,String> modes)</code> |
| <div class="block">Returns a map of all stimuli, triggered by this process, associated with its prescaler.</div> |
| </td> |
| </tr> |
| <tr id="i27" class="rowColor"> |
| <td class="colFirst"><code>static Map<Process,Long></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="#getTriggeringProcesses-org.eclipse.app4mc.amalthea.model.InterProcessStimulus-org.eclipse.emf.common.util.EMap-">getTriggeringProcesses</a></span>(InterProcessStimulus ip, |
| EMap<ModeLabel,String> modes)</code> |
| <div class="block">Returns all Processes that trigger the given InterProcessStimulus</div> |
| </td> |
| </tr> |
| <tr id="i28" class="altColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="#setRuntimeOfRunnable-org.eclipse.app4mc.amalthea.model.Runnable-org.eclipse.app4mc.amalthea.model.ExecutionNeed-org.eclipse.emf.common.util.EMap-">setRuntimeOfRunnable</a></span>(Runnable runnable, |
| ExecutionNeed need, |
| EMap<ModeLabel,String> modes)</code> |
| <div class="block">Sets the runtime of the given runnable to the given ExecutionNeed</div> |
| </td> |
| </tr> |
| <tr id="i29" class="rowColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="#setRuntimeOfRunnable-org.eclipse.app4mc.amalthea.model.Runnable-org.eclipse.app4mc.amalthea.model.Ticks-org.eclipse.emf.common.util.EMap-">setRuntimeOfRunnable</a></span>(Runnable runnable, |
| Ticks ticks, |
| EMap<ModeLabel,String> modes)</code> |
| <div class="block">Sets the runtime of the given runnable to the given Ticks</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class Object</h3> |
| <code>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="RuntimeUtil--"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>RuntimeUtil</h4> |
| <pre>public RuntimeUtil()</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="getExecutionTimeForProcess-org.eclipse.app4mc.amalthea.model.Process-org.eclipse.emf.common.util.EMap-org.eclipse.app4mc.amalthea.model.util.RuntimeUtil.TimeType-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getExecutionTimeForProcess</h4> |
| <pre>public static Time getExecutionTimeForProcess(Process process, |
| EMap<ModeLabel,String> modes, |
| <a href="RuntimeUtil.TimeType.html" title="enum in org.eclipse.app4mc.amalthea.model.util">RuntimeUtil.TimeType</a> executionCase)</pre> |
| <div class="block">Computes the execution time of a Process (Task or ISR) - unique mapping is required</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>process</code> - task or isr</dd> |
| <dd><code>modes</code> - (optional) - null works</dd> |
| <dd><code>executionCase</code> - BCET, ACET, WCET</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>execution time</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getExecutionTimeForProcess-org.eclipse.app4mc.amalthea.model.Process-org.eclipse.app4mc.amalthea.model.ProcessingUnit-org.eclipse.emf.common.util.EMap-org.eclipse.app4mc.amalthea.model.util.RuntimeUtil.TimeType-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getExecutionTimeForProcess</h4> |
| <pre>public static Time getExecutionTimeForProcess(Process process, |
| ProcessingUnit processingUnit, |
| EMap<ModeLabel,String> modes, |
| <a href="RuntimeUtil.TimeType.html" title="enum in org.eclipse.app4mc.amalthea.model.util">RuntimeUtil.TimeType</a> executionCase)</pre> |
| <div class="block">Computes the execution time of a Process (Task or ISR) on a given processing unit</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>process</code> - task or isr</dd> |
| <dd><code>processingUnit</code> - executing processing unit</dd> |
| <dd><code>modes</code> - (optional) - null works</dd> |
| <dd><code>executionCase</code> - BCET, ACET, WCET</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>execution time</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getExecutionTimeForRunnable-org.eclipse.app4mc.amalthea.model.Runnable-org.eclipse.app4mc.amalthea.model.ProcessingUnit-org.eclipse.emf.common.util.EMap-org.eclipse.app4mc.amalthea.model.util.RuntimeUtil.TimeType-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getExecutionTimeForRunnable</h4> |
| <pre>public static Time getExecutionTimeForRunnable(Runnable runnable, |
| ProcessingUnit processingUnit, |
| EMap<ModeLabel,String> modes, |
| <a href="RuntimeUtil.TimeType.html" title="enum in org.eclipse.app4mc.amalthea.model.util">RuntimeUtil.TimeType</a> executionCase)</pre> |
| <div class="block">Computes the execution time of a Runnable on a given processing unit</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>runnable</code> - runnable</dd> |
| <dd><code>processingUnit</code> - executing processing unit</dd> |
| <dd><code>modes</code> - (optional) - null works</dd> |
| <dd><code>executionCase</code> - BCET, ACET, WCET</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>execution time</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getExecutionTimeForTicks-org.eclipse.app4mc.amalthea.model.Ticks-org.eclipse.app4mc.amalthea.model.ProcessingUnit-org.eclipse.app4mc.amalthea.model.util.RuntimeUtil.TimeType-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getExecutionTimeForTicks</h4> |
| <pre>public static Time getExecutionTimeForTicks(Ticks ticks, |
| ProcessingUnit processingUnit, |
| <a href="RuntimeUtil.TimeType.html" title="enum in org.eclipse.app4mc.amalthea.model.util">RuntimeUtil.TimeType</a> executionCase)</pre> |
| <div class="block">Computes time for ticks on a given processing unit</div> |
| </li> |
| </ul> |
| <a name="getExecutionTimeForTicksDeviation-org.eclipse.app4mc.amalthea.model.IDiscreteValueDeviation-org.eclipse.app4mc.amalthea.model.ProcessingUnit-org.eclipse.app4mc.amalthea.model.util.RuntimeUtil.TimeType-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getExecutionTimeForTicksDeviation</h4> |
| <pre>public static Time getExecutionTimeForTicksDeviation(IDiscreteValueDeviation deviation, |
| ProcessingUnit processingUnit, |
| <a href="RuntimeUtil.TimeType.html" title="enum in org.eclipse.app4mc.amalthea.model.util">RuntimeUtil.TimeType</a> executionCase)</pre> |
| <div class="block">Computes time for ticks on a given processing unit</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>deviation</code> - ticks deviation</dd> |
| <dd><code>processingUnit</code> - executing processing unit</dd> |
| <dd><code>executionCase</code> - BCET, ACET, WCET</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>execution time</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getExecutionTimeForExecutionNeeds-org.eclipse.app4mc.amalthea.model.ExecutionNeed-org.eclipse.app4mc.amalthea.model.ProcessingUnit-org.eclipse.app4mc.amalthea.model.util.RuntimeUtil.TimeType-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getExecutionTimeForExecutionNeeds</h4> |
| <pre>public static Time getExecutionTimeForExecutionNeeds(ExecutionNeed need, |
| ProcessingUnit processingUnit, |
| <a href="RuntimeUtil.TimeType.html" title="enum in org.eclipse.app4mc.amalthea.model.util">RuntimeUtil.TimeType</a> executionCase)</pre> |
| <div class="block">Computes time for execution needs on a given processing unit</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>need</code> - execution need</dd> |
| <dd><code>processingUnit</code> - executing processing unit</dd> |
| <dd><code>executionCase</code> - BCET, ACET, WCET</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>execution time</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getExecutionTimeForExecutionNeedEntry-org.eclipse.app4mc.amalthea.model.IDiscreteValueDeviation-org.eclipse.app4mc.amalthea.model.HwFeatureCategory-org.eclipse.app4mc.amalthea.model.ProcessingUnit-org.eclipse.app4mc.amalthea.model.util.RuntimeUtil.TimeType-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getExecutionTimeForExecutionNeedEntry</h4> |
| <pre>public static Time getExecutionTimeForExecutionNeedEntry(IDiscreteValueDeviation deviation, |
| HwFeatureCategory hwFeatureCategory, |
| ProcessingUnit processingUnit, |
| <a href="RuntimeUtil.TimeType.html" title="enum in org.eclipse.app4mc.amalthea.model.util">RuntimeUtil.TimeType</a> executionCase)</pre> |
| <div class="block">Computes time for specific execution need entry on a given processing unit</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>deviation</code> - needs deviation</dd> |
| <dd><code>hwFeatureCategory</code> - corresponding feature category</dd> |
| <dd><code>processingUnit</code> - executing processing unit</dd> |
| <dd><code>executionCase</code> - BCET, ACET, WCET</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>execution time</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getExecutionTimeForCycles-double-org.eclipse.app4mc.amalthea.model.Frequency-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getExecutionTimeForCycles</h4> |
| <pre>public static Time getExecutionTimeForCycles(double ticks, |
| Frequency frequency)</pre> |
| <div class="block">Computes time for a number of ticks with a given frequency</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>ticks</code> - ticks / cycles</dd> |
| <dd><code>frequency</code> - frequency (of an executing processing unit)</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>execution time</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setRuntimeOfRunnable-org.eclipse.app4mc.amalthea.model.Runnable-org.eclipse.app4mc.amalthea.model.ExecutionNeed-org.eclipse.emf.common.util.EMap-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setRuntimeOfRunnable</h4> |
| <pre>public static void setRuntimeOfRunnable(Runnable runnable, |
| ExecutionNeed need, |
| EMap<ModeLabel,String> modes)</pre> |
| <div class="block">Sets the runtime of the given runnable to the given ExecutionNeed</div> |
| </li> |
| </ul> |
| <a name="setRuntimeOfRunnable-org.eclipse.app4mc.amalthea.model.Runnable-org.eclipse.app4mc.amalthea.model.Ticks-org.eclipse.emf.common.util.EMap-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setRuntimeOfRunnable</h4> |
| <pre>public static void setRuntimeOfRunnable(Runnable runnable, |
| Ticks ticks, |
| EMap<ModeLabel,String> modes)</pre> |
| <div class="block">Sets the runtime of the given runnable to the given Ticks</div> |
| </li> |
| </ul> |
| <a name="addRuntimeToRunnable-org.eclipse.app4mc.amalthea.model.Runnable-org.eclipse.app4mc.amalthea.model.ExecutionNeed-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addRuntimeToRunnable</h4> |
| <pre>public static void addRuntimeToRunnable(Runnable runnable, |
| ExecutionNeed need)</pre> |
| <div class="block">Adds Runtime (given as ExecutionNeed) to an existing Runnable currently |
| without consideration of modes</div> |
| </li> |
| </ul> |
| <a name="addRuntimeToRunnable-org.eclipse.app4mc.amalthea.model.Runnable-org.eclipse.app4mc.amalthea.model.Ticks-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addRuntimeToRunnable</h4> |
| <pre>public static void addRuntimeToRunnable(Runnable runnable, |
| Ticks ticks)</pre> |
| <div class="block">Adds Runtime (given as Ticks) to an existing Runnable currently |
| without consideration of modes</div> |
| </li> |
| </ul> |
| <a name="clearRuntimeOfModel-org.eclipse.app4mc.amalthea.model.Amalthea-org.eclipse.emf.common.util.EMap-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>clearRuntimeOfModel</h4> |
| <pre>public static void clearRuntimeOfModel(Amalthea model, |
| EMap<ModeLabel,String> modes)</pre> |
| <div class="block">Clears all runtime information (execution needs and ticks)</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>model</code> - Amalthea model</dd> |
| <dd><code>modes</code> - (optional) - null works</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="clearRuntimeOfProcess-org.eclipse.app4mc.amalthea.model.Process-org.eclipse.emf.common.util.EMap-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>clearRuntimeOfProcess</h4> |
| <pre>public static void clearRuntimeOfProcess(Process process, |
| EMap<ModeLabel,String> modes)</pre> |
| <div class="block">Clears all runtime information (execution needs and ticks)</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>process</code> - task or isr</dd> |
| <dd><code>modes</code> - (optional) - null works</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="clearRuntimeOfRunnable-org.eclipse.app4mc.amalthea.model.Runnable-org.eclipse.emf.common.util.EMap-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>clearRuntimeOfRunnable</h4> |
| <pre>public static void clearRuntimeOfRunnable(Runnable runnable, |
| EMap<ModeLabel,String> modes)</pre> |
| <div class="block">Clears all runtime information (execution needs and ticks)</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>runnable</code> - runnable</dd> |
| <dd><code>modes</code> - (optional) - null works</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="addRuntimeToProcessAsNewRunnable-org.eclipse.app4mc.amalthea.model.Process-org.eclipse.app4mc.amalthea.model.ExecutionNeed-java.lang.String-org.eclipse.app4mc.amalthea.model.util.RuntimeUtil.PositionType-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addRuntimeToProcessAsNewRunnable</h4> |
| <pre>public static Runnable addRuntimeToProcessAsNewRunnable(Process process, |
| ExecutionNeed need, |
| String runnableName, |
| <a href="RuntimeUtil.PositionType.html" title="enum in org.eclipse.app4mc.amalthea.model.util">RuntimeUtil.PositionType</a> positon)</pre> |
| <div class="block">Creates a new Runnable with the given runtime at beginning / end of the given process</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>process</code> - containing process (task or isr)</dd> |
| <dd><code>need</code> - execution need</dd> |
| <dd><code>runnableName</code> - name of new runnable</dd> |
| <dd><code>positon</code> - FIRST, LAST</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the new runnable</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="addRuntimeToProcessAsNewRunnable-org.eclipse.app4mc.amalthea.model.Process-org.eclipse.app4mc.amalthea.model.Ticks-java.lang.String-org.eclipse.app4mc.amalthea.model.util.RuntimeUtil.PositionType-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addRuntimeToProcessAsNewRunnable</h4> |
| <pre>public static Runnable addRuntimeToProcessAsNewRunnable(Process process, |
| Ticks ticks, |
| String runnableName, |
| <a href="RuntimeUtil.PositionType.html" title="enum in org.eclipse.app4mc.amalthea.model.util">RuntimeUtil.PositionType</a> positon)</pre> |
| <div class="block">Creates a new Runnable with the given runtime at beginning / end of the given process</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>process</code> - containing process (task or isr)</dd> |
| <dd><code>ticks</code> - ticks</dd> |
| <dd><code>runnableName</code> - name of new runnable</dd> |
| <dd><code>positon</code> - FIRST, LAST</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the new runnable</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getProcUnitUtilization-org.eclipse.app4mc.amalthea.model.ProcessingUnit-org.eclipse.app4mc.amalthea.model.Amalthea-org.eclipse.app4mc.amalthea.model.util.RuntimeUtil.TimeType-java.util.List-org.eclipse.emf.common.util.EMap-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getProcUnitUtilization</h4> |
| <pre>public static double getProcUnitUtilization(ProcessingUnit procUnit, |
| Amalthea model, |
| <a href="RuntimeUtil.TimeType.html" title="enum in org.eclipse.app4mc.amalthea.model.util">RuntimeUtil.TimeType</a> tt, |
| List<HwFeature> hwFeatures, |
| EMap<ModeLabel,String> modes)</pre> |
| <div class="block">Calculates the utilization for a given procUnit</div> |
| </li> |
| </ul> |
| <a name="getProcessUtilization-org.eclipse.app4mc.amalthea.model.Process-org.eclipse.app4mc.amalthea.model.Amalthea-org.eclipse.app4mc.amalthea.model.util.RuntimeUtil.TimeType-java.util.List-org.eclipse.emf.common.util.EMap-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getProcessUtilization</h4> |
| <pre>public static Map<ProcessingUnit,Double> getProcessUtilization(Process process, |
| Amalthea model, |
| <a href="RuntimeUtil.TimeType.html" title="enum in org.eclipse.app4mc.amalthea.model.util">RuntimeUtil.TimeType</a> tt, |
| List<HwFeature> hwFeatures, |
| EMap<ModeLabel,String> modes)</pre> |
| <div class="block">Calculates the utilization for a given process</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Map: procUnit -> utilization</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getProcessUtilization-org.eclipse.app4mc.amalthea.model.Process-org.eclipse.app4mc.amalthea.model.ProcessingUnit-org.eclipse.app4mc.amalthea.model.Amalthea-org.eclipse.app4mc.amalthea.model.util.RuntimeUtil.TimeType-java.util.List-org.eclipse.emf.common.util.EMap-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getProcessUtilization</h4> |
| <pre>public static double getProcessUtilization(Process process, |
| ProcessingUnit procUnit, |
| Amalthea model, |
| <a href="RuntimeUtil.TimeType.html" title="enum in org.eclipse.app4mc.amalthea.model.util">RuntimeUtil.TimeType</a> tt, |
| List<HwFeature> hwFeatures, |
| EMap<ModeLabel,String> modes)</pre> |
| <div class="block">Calculates the utilization for a given process on a given procUnit |
| <p> |
| Assumption (wrong): All triggers activate the process on all procUnits together! (at the same time)</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>utilization</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getProcessUtilization-org.eclipse.app4mc.amalthea.model.Process-org.eclipse.app4mc.amalthea.model.Time-org.eclipse.app4mc.amalthea.model.util.RuntimeUtil.TimeType-org.eclipse.emf.common.util.EMap-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getProcessUtilization</h4> |
| <pre>public static double getProcessUtilization(Process process, |
| Time period, |
| <a href="RuntimeUtil.TimeType.html" title="enum in org.eclipse.app4mc.amalthea.model.util">RuntimeUtil.TimeType</a> tt, |
| EMap<ModeLabel,String> modes)</pre> |
| <div class="block">Calculates the process utilization</div> |
| </li> |
| </ul> |
| <a name="getCumulativeProcessUtilizations-org.eclipse.app4mc.amalthea.model.Amalthea-org.eclipse.app4mc.amalthea.model.util.RuntimeUtil.TimeType-java.util.List-org.eclipse.emf.common.util.EMap-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getCumulativeProcessUtilizations</h4> |
| <pre>public static Map<Process,Double> getCumulativeProcessUtilizations(Amalthea model, |
| <a href="RuntimeUtil.TimeType.html" title="enum in org.eclipse.app4mc.amalthea.model.util">RuntimeUtil.TimeType</a> tt, |
| List<HwFeature> hwFeatures, |
| EMap<ModeLabel,String> modes)</pre> |
| <div class="block">Returns the cumulative process utilization, i.e. runtime on every procUnit summed up</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Map: process -> sum of utilization on all procUnits</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getPeriodsOfAllProcesses-org.eclipse.app4mc.amalthea.model.Amalthea-org.eclipse.app4mc.amalthea.model.util.RuntimeUtil.TimeType-org.eclipse.emf.common.util.EMap-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getPeriodsOfAllProcesses</h4> |
| <pre>public static Map<Process,List<Time>> getPeriodsOfAllProcesses(Amalthea model, |
| <a href="RuntimeUtil.TimeType.html" title="enum in org.eclipse.app4mc.amalthea.model.util">RuntimeUtil.TimeType</a> tt, |
| EMap<ModeLabel,String> modes)</pre> |
| <div class="block">Gets all Period ranges from the model</div> |
| </li> |
| </ul> |
| <a name="getPeriodsOfProcess-org.eclipse.app4mc.amalthea.model.Process-org.eclipse.app4mc.amalthea.model.util.RuntimeUtil.TimeType-org.eclipse.emf.common.util.EMap-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getPeriodsOfProcess</h4> |
| <pre>public static List<Time> getPeriodsOfProcess(Process process, |
| <a href="RuntimeUtil.TimeType.html" title="enum in org.eclipse.app4mc.amalthea.model.util">RuntimeUtil.TimeType</a> tt, |
| EMap<ModeLabel,String> modes)</pre> |
| <div class="block">Returns a list of all triggering periods. Sorted by shortest period first!</div> |
| </li> |
| </ul> |
| <a name="getTriggeringProcesses-org.eclipse.app4mc.amalthea.model.InterProcessStimulus-org.eclipse.emf.common.util.EMap-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTriggeringProcesses</h4> |
| <pre>public static Map<Process,Long> getTriggeringProcesses(InterProcessStimulus ip, |
| EMap<ModeLabel,String> modes)</pre> |
| <div class="block">Returns all Processes that trigger the given InterProcessStimulus</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Map: process -> prescaler value</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getTriggeredStimuli-org.eclipse.app4mc.amalthea.model.Process-org.eclipse.emf.common.util.EMap-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTriggeredStimuli</h4> |
| <pre>public static HashMap<Stimulus,Long> getTriggeredStimuli(Process process, |
| EMap<ModeLabel,String> modes)</pre> |
| <div class="block">Returns a map of all stimuli, triggered by this process, associated with its prescaler.</div> |
| </li> |
| </ul> |
| <a name="getProcessesWithRelativePeriodicStimulus-org.eclipse.app4mc.amalthea.model.Amalthea-org.eclipse.app4mc.amalthea.model.util.RuntimeUtil.TimeType-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getProcessesWithRelativePeriodicStimulus</h4> |
| <pre>public static Map<Process,List<Time>> getProcessesWithRelativePeriodicStimulus(Amalthea model, |
| <a href="RuntimeUtil.TimeType.html" title="enum in org.eclipse.app4mc.amalthea.model.util">RuntimeUtil.TimeType</a> tt)</pre> |
| <div class="block">Returns a Map of all sporadically triggered processes with their prescaler</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Map of processes with a sporadic activation and depending on tt the |
| time between activations</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getProcessesWithRelativePeriodicStimulus-org.eclipse.app4mc.amalthea.model.Amalthea-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getProcessesWithRelativePeriodicStimulus</h4> |
| <pre>public static Map<Process,List<ITimeDeviation>> getProcessesWithRelativePeriodicStimulus(Amalthea model)</pre> |
| <div class="block">Returns a Map of all sporadically triggered processes with their prescaler</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Map of processes with a sporadic activation and the deviation of the |
| activations</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getPlainTriggersForModel-org.eclipse.app4mc.amalthea.model.Amalthea-java.util.function.Function-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getPlainTriggersForModel</h4> |
| <pre>public static <T> Map<Process,Map<Stimulus,Long>> getPlainTriggersForModel(Amalthea model, |
| Function<Stimulus,Boolean> filter)</pre> |
| <div class="block">Returns a map from process to all stimuli (matching filter) that |
| lead to that process with the correct prescaler</div> |
| </li> |
| </ul> |
| <a name="getPlainTriggerForProcess-org.eclipse.app4mc.amalthea.model.Process-long-java.util.function.Function-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>getPlainTriggerForProcess</h4> |
| <pre>public static <T> Map<Stimulus,Long> getPlainTriggerForProcess(Process process, |
| long depthCounter, |
| Function<Stimulus,Boolean> filter)</pre> |
| <div class="block">Returns all stimuli (matching filter) that trigger the given process</div> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| </body> |
| </html> |