Skip to content
Permalink
Browse files

Task Visualizer Rework

  • Loading branch information
nagy511 committed Aug 26, 2019
1 parent a2ac421 commit c28d98fd288d0a084d52072e1b5e2ea55070ca50
Showing with 13,773 additions and 8,296 deletions.
  1. +1 −1 plugins/org.eclipse.app4mc.multicore.execution.logic/META-INF/MANIFEST.MF
  2. +17 −17 plugins/org.eclipse.app4mc.multicore.execution.logic/build.properties
  3. +41 −41 ....app4mc.multicore.execution.logic/src/org/eclipse/app4mc/multicore/execution/logic/Activator.java
  4. +146 −137 ...ecution.logic/src/org/eclipse/app4mc/multicore/execution/logic/executionmodel/ExecutionModel.java
  5. +53 −53 ...cution.logic/src/org/eclipse/app4mc/multicore/execution/logic/executionmodel/misc/EMTimeType.java
  6. +27 −27 ...src/org/eclipse/app4mc/multicore/execution/logic/executionmodel/misc/ExecutionModelException.java
  7. +41 −41 ...execution.logic/src/org/eclipse/app4mc/multicore/execution/logic/executionmodel/types/EMCore.java
  8. +61 −61 ...execution.logic/src/org/eclipse/app4mc/multicore/execution/logic/executionmodel/types/EMTask.java
  9. +33 −33 ...tion.logic/src/org/eclipse/app4mc/multicore/execution/logic/executionmodel/types/EMTaskEvent.java
  10. +71 −71 ...cution.logic/src/org/eclipse/app4mc/multicore/execution/logic/executionmodel/types/EMTaskFSM.java
  11. +115 −115 ....logic/src/org/eclipse/app4mc/multicore/execution/logic/executionmodel/types/EMTaskHistState.java
  12. +30 −30 ...tion.logic/src/org/eclipse/app4mc/multicore/execution/logic/executionmodel/types/EMTaskState.java
  13. +92 −92 ...tion.logic/src/org/eclipse/app4mc/multicore/execution/logic/openmapping/AmaltheaModelBuilder.java
  14. +28 −28 ...n.logic/src/org/eclipse/app4mc/multicore/execution/logic/openmapping/MalformedModelException.java
  15. +70 −70 ...re.execution.logic/src/org/eclipse/app4mc/multicore/execution/logic/openmapping/OMAllocation.java
  16. +32 −32 ...ore.execution.logic/src/org/eclipse/app4mc/multicore/execution/logic/openmapping/OMAttribute.java
  17. +52 −168 ...ulticore.execution.logic/src/org/eclipse/app4mc/multicore/execution/logic/openmapping/OMCore.java
  18. +51 −51 ...ulticore.execution.logic/src/org/eclipse/app4mc/multicore/execution/logic/openmapping/OMEdge.java
  19. +31 −31 ...icore.execution.logic/src/org/eclipse/app4mc/multicore/execution/logic/openmapping/OMMapping.java
  20. +76 −135 ...core.execution.logic/src/org/eclipse/app4mc/multicore/execution/logic/openmapping/OMRunnable.java
  21. +42 −42 ...ore.execution.logic/src/org/eclipse/app4mc/multicore/execution/logic/openmapping/OMScheduler.java
  22. +395 −396 ...ulticore.execution.logic/src/org/eclipse/app4mc/multicore/execution/logic/openmapping/OMTask.java
  23. +324 −339 ...ulticore.execution.logic/src/org/eclipse/app4mc/multicore/execution/logic/openmapping/OMUtil.java
  24. +40 −40 ...re.execution.logic/src/org/eclipse/app4mc/multicore/execution/logic/systemproxy/ISystemProxy.java
  25. +27 −27 ...re.execution.logic/src/org/eclipse/app4mc/multicore/execution/logic/systemproxy/SimException.java
  26. +66 −66 ...cution.logic/src/org/eclipse/app4mc/multicore/execution/logic/systemproxy/SystemProxyFactory.java
  27. +40 −40 ...c/org/eclipse/app4mc/multicore/execution/logic/systemproxy/multicoresystem/EMMultiCoreSystem.java
  28. +163 −163 ....logic/src/org/eclipse/app4mc/multicore/execution/logic/systemproxy/multicoresystem/EMTracer.java
  29. +290 −290 ...src/org/eclipse/app4mc/multicore/execution/logic/systemproxy/multicoresystem/MultiCoreSystem.java
  30. +92 −92 ...n.logic/src/org/eclipse/app4mc/multicore/execution/logic/systemproxy/multicoresystem/SimUtil.java
  31. +25 −25 ...c/src/org/eclipse/app4mc/multicore/execution/logic/systemproxy/scheduler/ISchedulerAlgorithm.java
  32. +36 −36 ...c/org/eclipse/app4mc/multicore/execution/logic/systemproxy/scheduler/ISchedulerEventListener.java
  33. +31 −31 ....logic/src/org/eclipse/app4mc/multicore/execution/logic/systemproxy/scheduler/ISchedulerTask.java
  34. +24 −24 ....logic/src/org/eclipse/app4mc/multicore/execution/logic/systemproxy/scheduler/IStepScheduler.java
  35. +70 −70 ...rg/eclipse/app4mc/multicore/execution/logic/systemproxy/scheduler/SchedulerAlgorithmRegister.java
  36. +25 −25 ...ic/src/org/eclipse/app4mc/multicore/execution/logic/systemproxy/scheduler/SchedulerException.java
  37. +24 −24 ...c/org/eclipse/app4mc/multicore/execution/logic/systemproxy/scheduler/algo/CooperativeEDFAlgo.java
  38. +40 −40 ...rc/org/eclipse/app4mc/multicore/execution/logic/systemproxy/scheduler/algo/PreemptiveEDFAlgo.java
  39. +33 −33 ...rc/org/eclipse/app4mc/multicore/execution/logic/systemproxy/scheduler/algo/PreemptiveRMSAlgo.java
  40. +134 −134 ...rc/org/eclipse/app4mc/multicore/execution/logic/systemproxy/scheduler/core/AbstractScheduler.java
  41. +99 −99 ...on.logic/src/org/eclipse/app4mc/multicore/execution/logic/systemproxy/scheduler/core/Barrier.java
  42. +46 −46 ...ic/src/org/eclipse/app4mc/multicore/execution/logic/systemproxy/scheduler/core/BarrierAccess.java
  43. +28 −28 ...c/src/org/eclipse/app4mc/multicore/execution/logic/systemproxy/scheduler/core/ISchedulerBase.java
  44. +275 −275 ...ic/src/org/eclipse/app4mc/multicore/execution/logic/systemproxy/scheduler/core/SchedulerTask.java
  45. +285 −285 ...ic/src/org/eclipse/app4mc/multicore/execution/logic/systemproxy/scheduler/core/StepScheduler.java
  46. +164 −164 ...on.logic/src/org/eclipse/app4mc/multicore/execution/logic/systemproxy/scheduler/core/TaskFSM.java
  47. +24 −24 .../src/org/eclipse/app4mc/multicore/execution/logic/systemproxy/tracing/ConsoleSchedulerTracer.java
  48. +42 −42 ...gic/src/org/eclipse/app4mc/multicore/execution/logic/systemproxy/tracing/FileSchedulerTracer.java
  49. +113 −113 .../org/eclipse/app4mc/multicore/execution/logic/systemproxy/tracing/PrintStreamSchedulerTracer.java
  50. +45 −45 ...tion.logic/test/org/eclipse/app4mc/multicore/execution/logic/executionmodel/test/TaskFSMTest.java
  51. +135 −135 ...xecution.logic/test/org/eclipse/app4mc/multicore/execution/logic/openmapping/test/OMUtilTest.java
  52. +66 −66 ...clipse/app4mc/multicore/execution/logic/systemproxy/scheduler/test/CooperativeSchedullerTest.java
  53. +127 −127 ...st/org/eclipse/app4mc/multicore/execution/logic/systemproxy/scheduler/test/PreemptiveRMSTest.java
  54. +120 −120 ...t/org/eclipse/app4mc/multicore/execution/logic/systemproxy/scheduler/test/SimpleEMTaskTracer.java
  55. +295 −295 ...st/org/eclipse/app4mc/multicore/execution/logic/systemproxy/scheduler/test/StepSchedulerTest.java
  56. +44 −44 ....logic/test/org/eclipse/app4mc/multicore/execution/logic/systemproxy/scheduler/test/TestUtil.java
  57. +93 −93 .../org/eclipse/app4mc/multicore/execution/logic/systemproxy/test/MulticorePrecedenceSimulation.java
  58. +355 −355 ...ion.logic/test/org/eclipse/app4mc/multicore/execution/logic/systemproxy/test/PerformanceTest.java
  59. +7 −0 plugins/org.eclipse.app4mc.multicore.execution.model/.classpath
  60. +2 −0 plugins/org.eclipse.app4mc.multicore.execution.model/.gitignore
  61. +28 −0 plugins/org.eclipse.app4mc.multicore.execution.model/.project
  62. +11 −0 plugins/org.eclipse.app4mc.multicore.execution.model/.settings/org.eclipse.jdt.core.prefs
  63. +14 −0 plugins/org.eclipse.app4mc.multicore.execution.model/META-INF/MANIFEST.MF
  64. +4 −0 plugins/org.eclipse.app4mc.multicore.execution.model/build.properties
  65. +753 −0 ...app4mc.multicore.execution.model/src/org/eclipse/app4mc/multicore/execution/model/XContainer.java
  66. +677 −0 ...ipse.app4mc.multicore.execution.model/src/org/eclipse/app4mc/multicore/execution/model/XUtil.java
  67. +41 −0 ....multicore.execution.model/src/org/eclipse/app4mc/multicore/execution/model/elements/XAccess.java
  68. +28 −0 ...mc.multicore.execution.model/src/org/eclipse/app4mc/multicore/execution/model/elements/XCore.java
  69. +135 −0 ...ticore.execution.model/src/org/eclipse/app4mc/multicore/execution/model/elements/XEventChain.java
  70. +97 −0 ...core.execution.model/src/org/eclipse/app4mc/multicore/execution/model/elements/XEventElement.java
  71. +41 −0 ...c.multicore.execution.model/src/org/eclipse/app4mc/multicore/execution/model/elements/XLabel.java
  72. +129 −0 ...icore.execution.model/src/org/eclipse/app4mc/multicore/execution/model/elements/XMappingUtil.java
  73. +60 −0 ...ulticore.execution.model/src/org/eclipse/app4mc/multicore/execution/model/elements/XRunnable.java
  74. +55 −0 ...lticore.execution.model/src/org/eclipse/app4mc/multicore/execution/model/elements/XScheduler.java
  75. +116 −0 ...c.multicore.execution.model/src/org/eclipse/app4mc/multicore/execution/model/elements/XTasks.java
  76. +7 −7 plugins/org.eclipse.app4mc.multicore.execution.ui.simmenu/.classpath
  77. +28 −28 plugins/org.eclipse.app4mc.multicore.execution.ui.simmenu/.project
  78. +2 −1 plugins/org.eclipse.app4mc.multicore.execution.ui.simmenu/META-INF/MANIFEST.MF
  79. +16 −16 plugins/org.eclipse.app4mc.multicore.execution.ui.simmenu/build.properties
  80. +73 −73 ...lticore.execution.ui.simmenu/src/org/eclipse/app4mc/multicore/execution/ui/simmenu/Activator.java
  81. +122 −116 ...ion.ui.simmenu/src/org/eclipse/app4mc/multicore/execution/ui/simmenu/handlers/SimMenuHandler.java
  82. +132 −132 ....ui.simmenu/src/org/eclipse/app4mc/multicore/execution/ui/simmenu/wizards/SWTAllocationTable.java
  83. +232 −232 ...simmenu/src/org/eclipse/app4mc/multicore/execution/ui/simmenu/wizards/TaskVisuDependencyPage.java
  84. +142 −142 ...i.simmenu/src/org/eclipse/app4mc/multicore/execution/ui/simmenu/wizards/TaskVisuOverviewPage.java
  85. +283 −222 ...simmenu/src/org/eclipse/app4mc/multicore/execution/ui/simmenu/wizards/TaskVisuSchedulingPage.java
  86. +353 −188 ...tion.ui.simmenu/src/org/eclipse/app4mc/multicore/execution/ui/simmenu/wizards/TaskVisuWizard.java
  87. +60 −60 ...core.execution.ui.simmenu/src/org/eclipse/app4mc/multicore/execution/ui/simmenu/wizards/Util.java
  88. +8 −3 plugins/org.eclipse.app4mc.multicore.execution.ui.widget/META-INF/MANIFEST.MF
  89. 0 plugins/org.eclipse.app4mc.multicore.execution.ui.widget/about.html
  90. +15 −15 plugins/org.eclipse.app4mc.multicore.execution.ui.widget/build.properties
  91. +41 −18 plugins/org.eclipse.app4mc.multicore.execution.ui.widget/icons/ganttchart.css
  92. +1,112 −0 ...xecution.ui.widget/src/org/eclipse/app4mc/multicore/execution/ui/widget/comunication/ComUtil.java
  93. +156 −128 ...n.ui.widget/src/org/eclipse/app4mc/multicore/execution/ui/widget/emtracewidget/EMTraceWidget.java
  94. +34 −30 ....ui.widget/src/org/eclipse/app4mc/multicore/execution/ui/widget/emtracewidget/IEMTraceWidget.java
  95. +23 −0 ...ution.ui.widget/src/org/eclipse/app4mc/multicore/execution/ui/widget/eventcanves/EventCanvas.java
  96. +78 −0 ....ui.widget/src/org/eclipse/app4mc/multicore/execution/ui/widget/eventcanves/SimpleEventChain.java
  97. +277 −0 ....ui.widget/src/org/eclipse/app4mc/multicore/execution/ui/widget/eventcanves/SimpleLabelChain.java
  98. +390 −373 ...execution.ui.widget/src/org/eclipse/app4mc/multicore/execution/ui/widget/gantt/FXGanttWidget.java
  99. +29 −29 ...ticore.execution.ui.widget/src/org/eclipse/app4mc/multicore/execution/ui/widget/gantt/IGantt.java
  100. +41 −41 ....ui.widget/src/org/eclipse/app4mc/multicore/execution/ui/widget/gantt/IntegerStringConverter.java
  101. +59 −43 ...src/org/eclipse/app4mc/multicore/execution/ui/widget/gantt/elements/AbstractGanttViewElement.java
  102. +53 −0 ...xecution.ui.widget/src/org/eclipse/app4mc/multicore/execution/ui/widget/gantt/elements/Arrow.java
  103. +34 −0 ...n.ui.widget/src/org/eclipse/app4mc/multicore/execution/ui/widget/gantt/elements/ArrowElement.java
  104. +98 −95 ...c/org/eclipse/app4mc/multicore/execution/ui/widget/gantt/elements/ArrowTimeMarkerViewElement.java
  105. +198 −0 ...src/org/eclipse/app4mc/multicore/execution/ui/widget/gantt/elements/DataFlowArrowViewElement.java
  106. +113 −0 ...ipse/app4mc/multicore/execution/ui/widget/gantt/elements/DataFlowArrowViewElementAlternative.java
  107. +59 −48 ...get/src/org/eclipse/app4mc/multicore/execution/ui/widget/gantt/elements/DurationModelElement.java
  108. +58 −58 ...c/org/eclipse/app4mc/multicore/execution/ui/widget/gantt/elements/FlashTimeMarkerViewElement.java
  109. +94 −0 ...clipse/app4mc/multicore/execution/ui/widget/gantt/elements/FollowingDataFlowArrowViewElement.java
  110. +44 −54 ...dget/src/org/eclipse/app4mc/multicore/execution/ui/widget/gantt/elements/IntervalViewElement.java
  111. +379 −0 ...src/org/eclipse/app4mc/multicore/execution/ui/widget/gantt/elements/MultysamplingViewElement.java
  112. +46 −0 .../src/org/eclipse/app4mc/multicore/execution/ui/widget/gantt/elements/OversamplingViewElement.java
  113. +68 −44 ...dget/src/org/eclipse/app4mc/multicore/execution/ui/widget/gantt/elements/ProgressViewElement.java
  114. +55 −55 ...org/eclipse/app4mc/multicore/execution/ui/widget/gantt/elements/ProgressWithLabelElementView.java
  115. +39 −39 ...get/src/org/eclipse/app4mc/multicore/execution/ui/widget/gantt/elements/TimeMarkModelElement.java
  116. +44 −0 ...src/org/eclipse/app4mc/multicore/execution/ui/widget/gantt/elements/UndersamplingViewElement.java
  117. +41 −41 ...lticore.execution.ui.widget/src/org/eclipse/app4mc/multicore/execution/ui/widget/misc/FXUtil.java
  118. +39 −33 ...tion.ui.widget/src/org/eclipse/app4mc/multicore/execution/ui/widget/tracewidget/ITraceWidget.java
  119. +1,055 −405 ...ution.ui.widget/src/org/eclipse/app4mc/multicore/execution/ui/widget/tracewidget/TraceWidget.java
@@ -4,7 +4,7 @@ Bundle-Name: APP4MC Multicore Execution Logic
Bundle-SymbolicName: org.eclipse.app4mc.multicore.execution.logic
Bundle-Version: 0.9.4.qualifier
Bundle-Activator: org.eclipse.app4mc.multicore.execution.logic.Activator
Require-Bundle: org.apache.commons.math,
Require-Bundle: org.apache.commons.math;resolution:=optional,
org.junit,
org.eclipse.app4mc.amalthea.model,
org.eclipse.app4mc.multicore.sharelibs
@@ -1,17 +1,17 @@
###############################################################################
# /*******************************************************************************
# * Copyright (c) 2017 Dortmund University of Applied Sciences and Arts and others.
# * All rights reserved. This program and the accompanying materials
# * are made available under the terms of the Eclipse Public License 2.0
# * which accompanies this distribution, and is available at
# * https://www.eclipse.org/legal/epl-2.0/
# *
# * Contributors:
# * Dortmund University of Applied Sciences and Arts - initial API and implementation
# *
# ******************************************************************************/
###############################################################################
source.. = src/
output.. = bin/
bin.includes = META-INF/,\
.
###############################################################################
# /*******************************************************************************
# * Copyright (c) 2019 Dortmund University of Applied Sciences and Arts and others.
# * All rights reserved. This program and the accompanying materials
# * are made available under the terms of the Eclipse Public License 2.0
# * which accompanies this distribution, and is available at
# * https://www.eclipse.org/legal/epl-2.0/
# *
# * Contributors:
# * Dortmund University of Applied Sciences and Arts - initial API and implementation
# *
# ******************************************************************************/
###############################################################################
source.. = src/
output.. = bin/
bin.includes = META-INF/,\
.
@@ -1,41 +1,41 @@
/**
********************************************************************************
* Copyright (c) 2017 Dortmund University of Applied Sciences and Arts and others.
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*******************************************************************************/

package org.eclipse.app4mc.multicore.execution.logic;

import org.osgi.framework.BundleActivator;
import org.osgi.framework.BundleContext;

public class Activator implements BundleActivator {

private static BundleContext context;

static BundleContext getContext() {
return context;
}

/*
* (non-Javadoc)
* @see org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext)
*/
public void start(BundleContext bundleContext) throws Exception {
Activator.context = bundleContext;
}

/*
* (non-Javadoc)
* @see org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext)
*/
public void stop(BundleContext bundleContext) throws Exception {
Activator.context = null;
}

}
/**
********************************************************************************
* Copyright (c) 2019 Dortmund University of Applied Sciences and Arts and others.
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*******************************************************************************/

package org.eclipse.app4mc.multicore.execution.logic;

import org.osgi.framework.BundleActivator;
import org.osgi.framework.BundleContext;

public class Activator implements BundleActivator {

private static BundleContext context;

static BundleContext getContext() {
return context;
}

/*
* (non-Javadoc)
* @see org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext)
*/
public void start(BundleContext bundleContext) throws Exception {
Activator.context = bundleContext;
}

/*
* (non-Javadoc)
* @see org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext)
*/
public void stop(BundleContext bundleContext) throws Exception {
Activator.context = null;
}

}

0 comments on commit c28d98f

Please sign in to comment.
You can’t perform that action at this time.