| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="de"> |
| <head> |
| <!-- Generated by javadoc (11.0.8) on Mon Nov 30 13:15:36 CET 2020 --> |
| <title>RuntimeUtil</title> |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| <meta name="dc.created" content="2020-11-30"> |
| <link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style"> |
| </head> |
| <body> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <main role="main"> |
| <div class="header"> |
| <div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">org.eclipse.app4mc.amalthea.model.util</a></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> |
| <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 ======== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="nested.class.summary"> |
| <!-- --> |
| </a> |
| <h3>Nested Class Summary</h3> |
| <table class="memberSummary"> |
| <caption><span>Nested Classes</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Class</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static class </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="RuntimeUtil.AccessDirection.html" title="enum in org.eclipse.app4mc.amalthea.model.util">RuntimeUtil.AccessDirection</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static class </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="RuntimeUtil.PositionType.html" title="enum in org.eclipse.app4mc.amalthea.model.util">RuntimeUtil.PositionType</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static class </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="RuntimeUtil.TimeType.html" title="enum in org.eclipse.app4mc.amalthea.model.util">RuntimeUtil.TimeType</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| </section> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary"> |
| <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="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code>static Runnable</code></td> |
| <th class="colSecond" scope="row"><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></th> |
| <td class="colLast"> |
| <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> |
| <th class="colSecond" scope="row"><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></th> |
| <td class="colLast"> |
| <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> |
| <th class="colSecond" scope="row"><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></th> |
| <td class="colLast"> |
| <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> |
| <th class="colSecond" scope="row"><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></th> |
| <td class="colLast"> |
| <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> |
| <th class="colSecond" scope="row"><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></th> |
| <td class="colLast"> |
| <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> |
| <th class="colSecond" scope="row"><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></th> |
| <td class="colLast"> |
| <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> |
| <th class="colSecond" scope="row"><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></th> |
| <td class="colLast"> |
| <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> |
| <th class="colSecond" scope="row"><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></th> |
| <td class="colLast"> |
| <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> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getExecutionTimeForCycles(double,org.eclipse.app4mc.amalthea.model.Frequency)">getExecutionTimeForCycles</a></span>​(double ticks, |
| Frequency frequency)</code></th> |
| <td class="colLast"> |
| <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> |
| <th class="colSecond" scope="row"><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></th> |
| <td class="colLast"> |
| <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> |
| <th class="colSecond" scope="row"><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></th> |
| <td class="colLast"> |
| <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> |
| <th class="colSecond" scope="row"><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></th> |
| <td class="colLast"> |
| <div class="block">Computes the execution time of a Process (Task or ISR) on a given processing unit</div> |
| </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code>static Time</code></td> |
| <th class="colSecond" scope="row"><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></th> |
| <td class="colLast"> |
| <div class="block">Computes the execution time of a Process (Task or ISR) - unique mapping is required</div> |
| </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code>static Time</code></td> |
| <th class="colSecond" scope="row"><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></th> |
| <td class="colLast"> |
| <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> |
| <th class="colSecond" scope="row"><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></th> |
| <td class="colLast"> |
| <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> |
| <th class="colSecond" scope="row"><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></th> |
| <td class="colLast"> |
| <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> |
| <th class="colSecond" scope="row"><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></th> |
| <td class="colLast"> |
| <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> |
| <th class="colSecond" scope="row"><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></th> |
| <td class="colLast"> |
| <div class="block">Returns a list of all triggering periods.</div> |
| </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <td class="colFirst"><code>static Map<Stimulus,​Long></code></td> |
| <th class="colSecond" scope="row"><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></th> |
| <td class="colLast"> |
| <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 Map<Process,​Map<Stimulus,​Long>></code></td> |
| <th class="colSecond" scope="row"><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></th> |
| <td class="colLast"> |
| <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> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getProcessesWithRelativePeriodicStimulus(org.eclipse.app4mc.amalthea.model.Amalthea)">getProcessesWithRelativePeriodicStimulus</a></span>​(Amalthea model)</code></th> |
| <td class="colLast"> |
| <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> |
| <th class="colSecond" scope="row"><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></th> |
| <td class="colLast"> |
| <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> |
| <th class="colSecond" scope="row"><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></th> |
| <td class="colLast"> |
| <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> |
| <th class="colSecond" scope="row"><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></th> |
| <td class="colLast"> |
| <div class="block">Calculates the utilization for a given process on a given procUnit</div> |
| </td> |
| </tr> |
| <tr id="i24" class="altColor"> |
| <td class="colFirst"><code>static double</code></td> |
| <th class="colSecond" scope="row"><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></th> |
| <td class="colLast"> |
| <div class="block">Calculates the process utilization</div> |
| </td> |
| </tr> |
| <tr id="i25" class="rowColor"> |
| <td class="colFirst"><code>static double</code></td> |
| <th class="colSecond" scope="row"><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></th> |
| <td class="colLast"> |
| <div class="block">Calculates the utilization for a given procUnit</div> |
| </td> |
| </tr> |
| <tr id="i26" class="altColor"> |
| <td class="colFirst"><code>static double</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTicksForExecutionTime(org.eclipse.app4mc.amalthea.model.Time,org.eclipse.app4mc.amalthea.model.Frequency)">getTicksForExecutionTime</a></span>​(Time executionTime, |
| Frequency frequency)</code></th> |
| <td class="colLast"> |
| <div class="block">Computes ticks for a given time and frequency.</div> |
| </td> |
| </tr> |
| <tr id="i27" class="rowColor"> |
| <td class="colFirst"><code>static double</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTicksForExecutionTimeInSeconds(java.math.BigDecimal,org.eclipse.app4mc.amalthea.model.Frequency)">getTicksForExecutionTimeInSeconds</a></span>​(BigDecimal executionTime, |
| Frequency frequency)</code></th> |
| <td class="colLast"> |
| <div class="block">Computes ticks for a given time (in seconds) and frequency.</div> |
| </td> |
| </tr> |
| <tr id="i28" class="altColor"> |
| <td class="colFirst"><code>static Map<Stimulus,​Long></code></td> |
| <th class="colSecond" scope="row"><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></th> |
| <td class="colLast"> |
| <div class="block">Returns a map of all stimuli, triggered by this process, associated with its prescaler.</div> |
| </td> |
| </tr> |
| <tr id="i29" class="rowColor"> |
| <td class="colFirst"><code>static Map<Process,​Long></code></td> |
| <th class="colSecond" scope="row"><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></th> |
| <td class="colLast"> |
| <div class="block">Returns all Processes that trigger the given InterProcessStimulus</div> |
| </td> |
| </tr> |
| <tr id="i30" class="altColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <th class="colSecond" scope="row"><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></th> |
| <td class="colLast"> |
| <div class="block">Sets the runtime of the given runnable to the given ExecutionNeed</div> |
| </td> |
| </tr> |
| <tr id="i31" class="rowColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <th class="colSecond" scope="row"><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></th> |
| <td class="colLast"> |
| <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 id="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> |
| </section> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ METHOD DETAIL ========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a id="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 class="methodSignature">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 id="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 class="methodSignature">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 id="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 class="methodSignature">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 id="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 class="methodSignature">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 id="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 class="methodSignature">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 id="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 class="methodSignature">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 id="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 class="methodSignature">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 id="getExecutionTimeForCycles(double,org.eclipse.app4mc.amalthea.model.Frequency)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getExecutionTimeForCycles</h4> |
| <pre class="methodSignature">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 id="getTicksForExecutionTimeInSeconds(java.math.BigDecimal,org.eclipse.app4mc.amalthea.model.Frequency)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTicksForExecutionTimeInSeconds</h4> |
| <pre class="methodSignature">public static double getTicksForExecutionTimeInSeconds​(BigDecimal executionTime, |
| Frequency frequency)</pre> |
| <div class="block">Computes ticks for a given time (in seconds) and frequency.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>executionTime</code> - execution time in seconds</dd> |
| <dd><code>frequency</code> - frequency (of an executing processing unit)</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>ticks / cycles</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getTicksForExecutionTime(org.eclipse.app4mc.amalthea.model.Time,org.eclipse.app4mc.amalthea.model.Frequency)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTicksForExecutionTime</h4> |
| <pre class="methodSignature">public static double getTicksForExecutionTime​(Time executionTime, |
| Frequency frequency)</pre> |
| <div class="block">Computes ticks for a given time and frequency.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>executionTime</code> - execution time</dd> |
| <dd><code>frequency</code> - frequency (of an executing processing unit)</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>ticks / cycles</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="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 class="methodSignature">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 id="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 class="methodSignature">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 id="addRuntimeToRunnable(org.eclipse.app4mc.amalthea.model.Runnable,org.eclipse.app4mc.amalthea.model.ExecutionNeed)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addRuntimeToRunnable</h4> |
| <pre class="methodSignature">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 id="addRuntimeToRunnable(org.eclipse.app4mc.amalthea.model.Runnable,org.eclipse.app4mc.amalthea.model.Ticks)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addRuntimeToRunnable</h4> |
| <pre class="methodSignature">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 id="clearRuntimeOfModel(org.eclipse.app4mc.amalthea.model.Amalthea,org.eclipse.emf.common.util.EMap)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>clearRuntimeOfModel</h4> |
| <pre class="methodSignature">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 id="clearRuntimeOfProcess(org.eclipse.app4mc.amalthea.model.Process,org.eclipse.emf.common.util.EMap)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>clearRuntimeOfProcess</h4> |
| <pre class="methodSignature">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 id="clearRuntimeOfRunnable(org.eclipse.app4mc.amalthea.model.Runnable,org.eclipse.emf.common.util.EMap)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>clearRuntimeOfRunnable</h4> |
| <pre class="methodSignature">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 id="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 class="methodSignature">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 id="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 class="methodSignature">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 id="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 class="methodSignature">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 id="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 class="methodSignature">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 id="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 class="methodSignature">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 id="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 class="methodSignature">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 id="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 class="methodSignature">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 id="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 class="methodSignature">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 id="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 class="methodSignature">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 id="getTriggeringProcesses(org.eclipse.app4mc.amalthea.model.InterProcessStimulus,org.eclipse.emf.common.util.EMap)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTriggeringProcesses</h4> |
| <pre class="methodSignature">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 id="getTriggeredStimuli(org.eclipse.app4mc.amalthea.model.Process,org.eclipse.emf.common.util.EMap)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTriggeredStimuli</h4> |
| <pre class="methodSignature">public static Map<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 id="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 class="methodSignature">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 id="getProcessesWithRelativePeriodicStimulus(org.eclipse.app4mc.amalthea.model.Amalthea)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getProcessesWithRelativePeriodicStimulus</h4> |
| <pre class="methodSignature">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 id="getPlainTriggersForModel(org.eclipse.app4mc.amalthea.model.Amalthea,java.util.function.Function)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getPlainTriggersForModel</h4> |
| <pre class="methodSignature">public static 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 id="getPlainTriggerForProcess(org.eclipse.app4mc.amalthea.model.Process,long,java.util.function.Function)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>getPlainTriggerForProcess</h4> |
| <pre class="methodSignature">public static 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> |
| </section> |
| </li> |
| </ul> |
| </div> |
| </div> |
| </main> |
| <!-- ========= END OF CLASS DATA ========= --> |
| </body> |
| </html> |