Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add the small reference graphs used and compared
- Loading branch information
Showing
4 changed files
with
611 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
191 changes: 191 additions & 0 deletions
191
simulation/modelica/hpcom/ReferenceGraphs/ElectricalCircuit_TaskGraphODE.graphml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,191 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
<graphml xmlns="http://graphml.graphdrawing.org/xmlns" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:y="http://www.yworks.com/xml/graphml" xmlns:yed="http://www.yworks.com/xml/yed/3" xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns http://www.yworks.com/xml/schema/graphml/1.1/ygraphml.xsd"> | ||
|
||
<key for="node" id="gi1" yfiles.type="nodegraphics"/> | ||
<key attr.name="description" attr.type="string" for="node" id="ddesc" /> | ||
<key for="edge" id="gi2" yfiles.type="edgegraphics"/> | ||
|
||
<key attr.name="Name" attr.type="string" for="node" id="cust1"> | ||
<default></default> | ||
</key> | ||
<key attr.name="Operations" attr.type="int" for="node" id="cust2"> | ||
<default>-1</default> | ||
</key> | ||
<key attr.name="CalcTime" attr.type="double" for="node" id="cust3"> | ||
<default>-1</default> | ||
</key> | ||
<key attr.name="TaskID" attr.type="string" for="node" id="cust4"> | ||
<default></default> | ||
</key> | ||
<key attr.name="yCoord" attr.type="int" for="node" id="cust5"> | ||
<default>17</default> | ||
</key> | ||
<key attr.name="SimCodeEqs" attr.type="string" for="node" id="cust6"> | ||
<default></default> | ||
</key> | ||
<key attr.name="ThreadId" attr.type="string" for="node" id="cust7"> | ||
<default></default> | ||
</key> | ||
<key attr.name="TaskNumber" attr.type="int" for="node" id="cust8"> | ||
<default>-1</default> | ||
</key> | ||
<key attr.name="CommCost" attr.type="double" for="edge" id="cust9"> | ||
<default>-1</default> | ||
</key> | ||
<key attr.name="CommVars" attr.type="int" for="edge" id="cust10"> | ||
<default>-1</default> | ||
</key> | ||
<key attr.name="CommVarsInt" attr.type="int" for="edge" id="cust11"> | ||
<default>-1</default> | ||
</key> | ||
<key attr.name="CommVarsFloat" attr.type="int" for="edge" id="cust12"> | ||
<default>-1</default> | ||
</key> | ||
<key attr.name="CommVarsBool" attr.type="int" for="edge" id="cust13"> | ||
<default>-1</default> | ||
</key> | ||
<key attr.name="annotations" attr.type="string" for="node" id="cust14"> | ||
<default>annotation</default> | ||
</key> | ||
<key attr.name="CriticalPath" attr.type="string" for="graph" id="cust15"> | ||
<default></default> | ||
</key> | ||
|
||
<!-- Graph Idx: 1 --> | ||
<graph edgedefault="directed" id="TaskGraph"> | ||
<data key="cust15"><![CDATA[ ;; critical path with costs of 860.0 cycles -- 1,2,3,4critical path' with costs of 638.0 cycles -- 1,2,3,4 sum: (638.0 ; 16)]]></data> | ||
<node id="Node4"> | ||
<data key="cust1"><![CDATA[{5:2}]]></data> | ||
<data key="cust3">67</data> | ||
<data key="cust2">1</data> | ||
<data key="cust4"><![CDATA[ 4 ]]></data> | ||
<data key="cust5">0</data> | ||
<data key="cust6"><![CDATA[19]]></data> | ||
<data key="cust7"><![CDATA[Th -1]]></data> | ||
<data key="cust8">-1</data> | ||
<data key="cust14"><![CDATA[uncomment in HpcOmTaskGraph and +showAnnotations]]></data> | ||
<data key="ddesc"><![CDATA[capacitor.i = capacitor.C * der(capacitor.v) FOR der(capacitor.v)]]></data> | ||
<data key="gi1"> | ||
<y:ShapeNode> | ||
<y:Fill color="#FFCC00" transparent="false"/> | ||
<y:BorderStyle color="#000000" type="line" width="1.0"/> | ||
<y:NodeLabel alignment="center" autoSizePolicy="content" backgroundColor="#FFFF00" fontFamily="Dialog" fontSize="12" fontStyle="bold" hasLineColor="false" modelName="corners" modelPosition="se" textColor="#000000" visible="true">67</y:NodeLabel> | ||
<y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasLineColor="false" modelName="internal" modelPosition="c" textColor="#000000" visible="true"> 4 </y:NodeLabel> | ||
<y:Shape type="rectangle"/> | ||
</y:ShapeNode> | ||
</data> | ||
</node> | ||
<node id="Node3"> | ||
<data key="cust1"><![CDATA[{2:1}]]></data> | ||
<data key="cust3">67</data> | ||
<data key="cust2">1</data> | ||
<data key="cust4"><![CDATA[ 3 ]]></data> | ||
<data key="cust5">0</data> | ||
<data key="cust6"><![CDATA[18]]></data> | ||
<data key="cust7"><![CDATA[Th -1]]></data> | ||
<data key="cust8">-1</data> | ||
<data key="cust14"><![CDATA[uncomment in HpcOmTaskGraph and +showAnnotations]]></data> | ||
<data key="ddesc"><![CDATA[resistor.v = resistor.R_actual * capacitor.i FOR capacitor.i]]></data> | ||
<data key="gi1"> | ||
<y:ShapeNode> | ||
<y:Fill color="#FFCC00" transparent="false"/> | ||
<y:BorderStyle color="#000000" type="line" width="1.0"/> | ||
<y:NodeLabel alignment="center" autoSizePolicy="content" backgroundColor="#FFFF00" fontFamily="Dialog" fontSize="12" fontStyle="bold" hasLineColor="false" modelName="corners" modelPosition="se" textColor="#000000" visible="true">67</y:NodeLabel> | ||
<y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasLineColor="false" modelName="internal" modelPosition="c" textColor="#000000" visible="true"> 3 </y:NodeLabel> | ||
<y:Shape type="rectangle"/> | ||
</y:ShapeNode> | ||
</data> | ||
</node> | ||
<node id="Node2"> | ||
<data key="cust1"><![CDATA[{4:4}]]></data> | ||
<data key="cust3">59</data> | ||
<data key="cust2">2</data> | ||
<data key="cust4"><![CDATA[ 2 ]]></data> | ||
<data key="cust5">0</data> | ||
<data key="cust6"><![CDATA[17]]></data> | ||
<data key="cust7"><![CDATA[Th -1]]></data> | ||
<data key="cust8">-1</data> | ||
<data key="cust14"><![CDATA[uncomment in HpcOmTaskGraph and +showAnnotations]]></data> | ||
<data key="ddesc"><![CDATA[resistor.v = (-sineVoltage.v) - capacitor.v FOR resistor.v]]></data> | ||
<data key="gi1"> | ||
<y:ShapeNode> | ||
<y:Fill color="#FFCC00" transparent="false"/> | ||
<y:BorderStyle color="#000000" type="line" width="1.0"/> | ||
<y:NodeLabel alignment="center" autoSizePolicy="content" backgroundColor="#FFFF00" fontFamily="Dialog" fontSize="12" fontStyle="bold" hasLineColor="false" modelName="corners" modelPosition="se" textColor="#000000" visible="true">59</y:NodeLabel> | ||
<y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasLineColor="false" modelName="internal" modelPosition="c" textColor="#000000" visible="true"> 2 </y:NodeLabel> | ||
<y:Shape type="rectangle"/> | ||
</y:ShapeNode> | ||
</data> | ||
</node> | ||
<node id="Node1"> | ||
<data key="cust1"><![CDATA[{1:5}]]></data> | ||
<data key="cust3">445</data> | ||
<data key="cust2">12</data> | ||
<data key="cust4"><![CDATA[ 1 ]]></data> | ||
<data key="cust5">0</data> | ||
<data key="cust6"><![CDATA[16]]></data> | ||
<data key="cust7"><![CDATA[Th -1]]></data> | ||
<data key="cust8">-1</data> | ||
<data key="cust14"><![CDATA[uncomment in HpcOmTaskGraph and +showAnnotations]]></data> | ||
<data key="ddesc"><![CDATA[sineVoltage.v = sineVoltage.signalSource.offset + (if time < sineVoltage.signalSource.startTime then 0.0 else sineVoltage.signalSource.amplitude * sin(6.283185307179586 * sineVoltage.signalSource.freqHz * (time - sineVoltage.signalSource.startTime) + sineVoltage.signalSource.phase)) FOR sineVoltage.v]]></data> | ||
<data key="gi1"> | ||
<y:ShapeNode> | ||
<y:Fill color="#FFCC00" transparent="false"/> | ||
<y:BorderStyle color="#000000" type="line" width="1.0"/> | ||
<y:NodeLabel alignment="center" autoSizePolicy="content" backgroundColor="#FFFF00" fontFamily="Dialog" fontSize="12" fontStyle="bold" hasLineColor="false" modelName="corners" modelPosition="se" textColor="#000000" visible="true">445</y:NodeLabel> | ||
<y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasLineColor="false" modelName="internal" modelPosition="c" textColor="#000000" visible="true"> 1 </y:NodeLabel> | ||
<y:Shape type="rectangle"/> | ||
</y:ShapeNode> | ||
</data> | ||
</node> | ||
|
||
<edge id="Edge34" source="Node3" target="Node4"> | ||
<data key="cust9">74</data> | ||
<data key="cust10">1</data> | ||
<data key="cust11">0</data> | ||
<data key="cust12">1</data> | ||
<data key="cust13">0</data> | ||
<data key="gi2"> | ||
<y:PolyLineEdge> | ||
<y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"/> | ||
<y:LineStyle color="#C0C0C0" type="line" width="4.0"/> | ||
<y:Arrows source="none" target="standard"/> | ||
<y:BendStyle smoothed="false"/> | ||
<y:EdgeLabel alignment="center" distance="2.0" fontFamily="Dialog" backgroundColor="#C0C0C0" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" modelName="side_slider" preferredPlacement="anywhere" visible="true">74</y:EdgeLabel> | ||
</y:PolyLineEdge> | ||
</data> | ||
</edge> | ||
<edge id="Edge23" source="Node2" target="Node3"> | ||
<data key="cust9">74</data> | ||
<data key="cust10">1</data> | ||
<data key="cust11">0</data> | ||
<data key="cust12">1</data> | ||
<data key="cust13">0</data> | ||
<data key="gi2"> | ||
<y:PolyLineEdge> | ||
<y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"/> | ||
<y:LineStyle color="#C0C0C0" type="line" width="4.0"/> | ||
<y:Arrows source="none" target="standard"/> | ||
<y:BendStyle smoothed="false"/> | ||
<y:EdgeLabel alignment="center" distance="2.0" fontFamily="Dialog" backgroundColor="#C0C0C0" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" modelName="side_slider" preferredPlacement="anywhere" visible="true">74</y:EdgeLabel> | ||
</y:PolyLineEdge> | ||
</data> | ||
</edge> | ||
<edge id="Edge12" source="Node1" target="Node2"> | ||
<data key="cust9">74</data> | ||
<data key="cust10">1</data> | ||
<data key="cust11">0</data> | ||
<data key="cust12">1</data> | ||
<data key="cust13">0</data> | ||
<data key="gi2"> | ||
<y:PolyLineEdge> | ||
<y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"/> | ||
<y:LineStyle color="#C0C0C0" type="line" width="4.0"/> | ||
<y:Arrows source="none" target="standard"/> | ||
<y:BendStyle smoothed="false"/> | ||
<y:EdgeLabel alignment="center" distance="2.0" fontFamily="Dialog" backgroundColor="#C0C0C0" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" modelName="side_slider" preferredPlacement="anywhere" visible="true">74</y:EdgeLabel> | ||
</y:PolyLineEdge> | ||
</data> | ||
</edge> | ||
</graph> | ||
</graphml> |
Oops, something went wrong.