-
Notifications
You must be signed in to change notification settings - Fork 0
/
energy.xmi
89 lines (89 loc) · 14.1 KB
/
energy.xmi
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<?xml version="1.0" encoding="ASCII"?>
<smm:SmmModel xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:smm="http://www.atlanmod.org/zoo/smm">
<libraries>
<measureElements xsi:type="smm:CollectiveMeasure" outRelationships="//@libraries.0/@measureElements.0/@measureRelationships.1 //@libraries.0/@measureElements.0/@measureRelationships.0">
<measureRelationships xsi:type="smm:BaseNMeasureRelationship" name="collectToTimeMeasure" to="//@libraries.0/@measureElements.2" from="//@libraries.0/@measureElements.0"/>
<measureRelationships xsi:type="smm:BaseNMeasureRelationship" name="collectToEnergyMeasure" to="//@libraries.0/@measureElements.1" from="//@libraries.0/@measureElements.0"/>
</measureElements>
<measureElements xsi:type="smm:DirectMeasure" name="energy" inRelationships="//@libraries.0/@measureElements.0/@measureRelationships.1" unit="//@libraries.0/@measureElements.3"/>
<measureElements xsi:type="smm:DirectMeasure" name="duration" inRelationships="//@libraries.0/@measureElements.0/@measureRelationships.0" unit="//@libraries.0/@measureElements.4"/>
<measureElements xsi:type="smm:UnitOfMeasure" name="uj" description="MicroJoule energy unit"/>
<measureElements xsi:type="smm:UnitOfMeasure" name="ns" description="Nanoseconds time duration"/>
</libraries>
<observations>
<observedMeasures measure="//@libraries.0/@measureElements.0">
<measurements xsi:type="smm:CollectiveMeasurement" name="com.tblf.SimpleProject.AppTest$<init>" outRelationships="//@observations.0/@observedMeasures.0/@measurements.0/@measurementRelationships.0 //@observations.0/@observedMeasures.0/@measurements.0/@measurementRelationships.1">
<measurementRelationships xsi:type="smm:BaseNMeasurementRelationship" name="energy" to="//@observations.0/@observedMeasures.0/@measurements.1" from="//@observations.0/@observedMeasures.0/@measurements.0"/>
<measurementRelationships xsi:type="smm:BaseNMeasurementRelationship" name="duration" to="//@observations.0/@observedMeasures.0/@measurements.2" from="//@observations.0/@observedMeasures.0/@measurements.0"/>
</measurements>
<measurements xsi:type="smm:DirectMeasurement" name="energy" inRelationships="//@observations.0/@observedMeasures.0/@measurements.0/@measurementRelationships.0" value="2197.0"/>
<measurements xsi:type="smm:DirectMeasurement" name="duration" inRelationships="//@observations.0/@observedMeasures.0/@measurements.0/@measurementRelationships.1" value="148228.0"/>
</observedMeasures>
<observedMeasures measure="//@libraries.0/@measureElements.0">
<measurements xsi:type="smm:CollectiveMeasurement" name="com.tblf.SimpleProject.AppTest$testApp" outRelationships="//@observations.0/@observedMeasures.1/@measurements.0/@measurementRelationships.0 //@observations.0/@observedMeasures.1/@measurements.0/@measurementRelationships.1 //@observations.0/@observedMeasures.2/@measurements.0/@measurementRelationships.0 //@observations.0/@observedMeasures.3/@measurements.0/@measurementRelationships.0" baseMeasurementTo="//@observations.0/@observedMeasures.2/@measurements.0/@measurementRelationships.0 //@observations.0/@observedMeasures.3/@measurements.0/@measurementRelationships.0">
<measurementRelationships xsi:type="smm:BaseNMeasurementRelationship" name="energy" to="//@observations.0/@observedMeasures.1/@measurements.1" from="//@observations.0/@observedMeasures.1/@measurements.0"/>
<measurementRelationships xsi:type="smm:BaseNMeasurementRelationship" name="duration" to="//@observations.0/@observedMeasures.1/@measurements.2" from="//@observations.0/@observedMeasures.1/@measurements.0"/>
<measurand href="src/test/resources/SimpleProject/SimpleProject_java.xmi#//@ownedElements.0/@ownedPackages.0/@ownedPackages.0/@ownedElements.0/@bodyDeclarations.0"/>
</measurements>
<measurements xsi:type="smm:DirectMeasurement" name="energy" inRelationships="//@observations.0/@observedMeasures.1/@measurements.0/@measurementRelationships.0" value="11963.0"/>
<measurements xsi:type="smm:DirectMeasurement" name="duration" inRelationships="//@observations.0/@observedMeasures.1/@measurements.0/@measurementRelationships.1" value="1303107.0"/>
</observedMeasures>
<observedMeasures measure="//@libraries.0/@measureElements.0">
<measurements xsi:type="smm:CollectiveMeasurement" name="com.tblf.SimpleProject.App$<init>" inRelationships="//@observations.0/@observedMeasures.2/@measurements.0/@measurementRelationships.0" outRelationships="//@observations.0/@observedMeasures.2/@measurements.0/@measurementRelationships.1 //@observations.0/@observedMeasures.2/@measurements.0/@measurementRelationships.2" baseMeasurementFrom="//@observations.0/@observedMeasures.2/@measurements.0/@measurementRelationships.0">
<measurementRelationships xsi:type="smm:BaseNMeasurementRelationship" name="call" to="//@observations.0/@observedMeasures.2/@measurements.0" from="//@observations.0/@observedMeasures.1/@measurements.0"/>
<measurementRelationships xsi:type="smm:BaseNMeasurementRelationship" name="energy" to="//@observations.0/@observedMeasures.2/@measurements.1" from="//@observations.0/@observedMeasures.2/@measurements.0"/>
<measurementRelationships xsi:type="smm:BaseNMeasurementRelationship" name="duration" to="//@observations.0/@observedMeasures.2/@measurements.2" from="//@observations.0/@observedMeasures.2/@measurements.0"/>
<measurand href="src/test/resources/SimpleProject/SimpleProject_java.xmi#//@ownedElements.0/@ownedPackages.0/@ownedPackages.0/@ownedElements.2/@bodyDeclarations.1"/>
</measurements>
<measurements xsi:type="smm:DirectMeasurement" name="energy" inRelationships="//@observations.0/@observedMeasures.2/@measurements.0/@measurementRelationships.1" value="1648.0"/>
<measurements xsi:type="smm:DirectMeasurement" name="duration" inRelationships="//@observations.0/@observedMeasures.2/@measurements.0/@measurementRelationships.2" value="158468.0"/>
</observedMeasures>
<observedMeasures measure="//@libraries.0/@measureElements.0">
<measurements xsi:type="smm:CollectiveMeasurement" name="com.tblf.SimpleProject.App$method" inRelationships="//@observations.0/@observedMeasures.3/@measurements.0/@measurementRelationships.0" outRelationships="//@observations.0/@observedMeasures.3/@measurements.0/@measurementRelationships.1 //@observations.0/@observedMeasures.3/@measurements.0/@measurementRelationships.2" baseMeasurementFrom="//@observations.0/@observedMeasures.3/@measurements.0/@measurementRelationships.0">
<measurementRelationships xsi:type="smm:BaseNMeasurementRelationship" name="call" to="//@observations.0/@observedMeasures.3/@measurements.0" from="//@observations.0/@observedMeasures.1/@measurements.0"/>
<measurementRelationships xsi:type="smm:BaseNMeasurementRelationship" name="energy" to="//@observations.0/@observedMeasures.3/@measurements.1" from="//@observations.0/@observedMeasures.3/@measurements.0"/>
<measurementRelationships xsi:type="smm:BaseNMeasurementRelationship" name="duration" to="//@observations.0/@observedMeasures.3/@measurements.2" from="//@observations.0/@observedMeasures.3/@measurements.0"/>
<measurand href="src/test/resources/SimpleProject/SimpleProject_java.xmi#//@ownedElements.0/@ownedPackages.0/@ownedPackages.0/@ownedElements.2/@bodyDeclarations.2"/>
</measurements>
<measurements xsi:type="smm:DirectMeasurement" name="energy" inRelationships="//@observations.0/@observedMeasures.3/@measurements.0/@measurementRelationships.1" value="1587.0"/>
<measurements xsi:type="smm:DirectMeasurement" name="duration" inRelationships="//@observations.0/@observedMeasures.3/@measurements.0/@measurementRelationships.2" value="107233.0"/>
</observedMeasures>
<observedMeasures measure="//@libraries.0/@measureElements.0">
<measurements xsi:type="smm:CollectiveMeasurement" name="com.tblf.SimpleProject.AppTest$<init>" outRelationships="//@observations.0/@observedMeasures.4/@measurements.0/@measurementRelationships.0 //@observations.0/@observedMeasures.4/@measurements.0/@measurementRelationships.1">
<measurementRelationships xsi:type="smm:BaseNMeasurementRelationship" name="energy" to="//@observations.0/@observedMeasures.4/@measurements.1" from="//@observations.0/@observedMeasures.4/@measurements.0"/>
<measurementRelationships xsi:type="smm:BaseNMeasurementRelationship" name="duration" to="//@observations.0/@observedMeasures.4/@measurements.2" from="//@observations.0/@observedMeasures.4/@measurements.0"/>
</measurements>
<measurements xsi:type="smm:DirectMeasurement" name="energy" inRelationships="//@observations.0/@observedMeasures.4/@measurements.0/@measurementRelationships.0" value="1159.0"/>
<measurements xsi:type="smm:DirectMeasurement" name="duration" inRelationships="//@observations.0/@observedMeasures.4/@measurements.0/@measurementRelationships.1" value="107777.0"/>
</observedMeasures>
<observedMeasures measure="//@libraries.0/@measureElements.0">
<measurements xsi:type="smm:CollectiveMeasurement" name="com.tblf.SimpleProject.AppTest$testApp2" outRelationships="//@observations.0/@observedMeasures.5/@measurements.0/@measurementRelationships.0 //@observations.0/@observedMeasures.5/@measurements.0/@measurementRelationships.1 //@observations.0/@observedMeasures.6/@measurements.0/@measurementRelationships.0 //@observations.0/@observedMeasures.7/@measurements.0/@measurementRelationships.0" baseMeasurementTo="//@observations.0/@observedMeasures.6/@measurements.0/@measurementRelationships.0 //@observations.0/@observedMeasures.7/@measurements.0/@measurementRelationships.0">
<measurementRelationships xsi:type="smm:BaseNMeasurementRelationship" name="energy" to="//@observations.0/@observedMeasures.5/@measurements.1" from="//@observations.0/@observedMeasures.5/@measurements.0"/>
<measurementRelationships xsi:type="smm:BaseNMeasurementRelationship" name="duration" to="//@observations.0/@observedMeasures.5/@measurements.2" from="//@observations.0/@observedMeasures.5/@measurements.0"/>
<measurand href="src/test/resources/SimpleProject/SimpleProject_java.xmi#//@ownedElements.0/@ownedPackages.0/@ownedPackages.0/@ownedElements.0/@bodyDeclarations.1"/>
</measurements>
<measurements xsi:type="smm:DirectMeasurement" name="energy" inRelationships="//@observations.0/@observedMeasures.5/@measurements.0/@measurementRelationships.0" value="8240.0"/>
<measurements xsi:type="smm:DirectMeasurement" name="duration" inRelationships="//@observations.0/@observedMeasures.5/@measurements.0/@measurementRelationships.1" value="756393.0"/>
</observedMeasures>
<observedMeasures measure="//@libraries.0/@measureElements.0">
<measurements xsi:type="smm:CollectiveMeasurement" name="com.tblf.SimpleProject.App$<init>" inRelationships="//@observations.0/@observedMeasures.6/@measurements.0/@measurementRelationships.0" outRelationships="//@observations.0/@observedMeasures.6/@measurements.0/@measurementRelationships.1 //@observations.0/@observedMeasures.6/@measurements.0/@measurementRelationships.2" baseMeasurementFrom="//@observations.0/@observedMeasures.6/@measurements.0/@measurementRelationships.0">
<measurementRelationships xsi:type="smm:BaseNMeasurementRelationship" name="call" to="//@observations.0/@observedMeasures.6/@measurements.0" from="//@observations.0/@observedMeasures.5/@measurements.0"/>
<measurementRelationships xsi:type="smm:BaseNMeasurementRelationship" name="energy" to="//@observations.0/@observedMeasures.6/@measurements.1" from="//@observations.0/@observedMeasures.6/@measurements.0"/>
<measurementRelationships xsi:type="smm:BaseNMeasurementRelationship" name="duration" to="//@observations.0/@observedMeasures.6/@measurements.2" from="//@observations.0/@observedMeasures.6/@measurements.0"/>
<measurand href="src/test/resources/SimpleProject/SimpleProject_java.xmi#//@ownedElements.0/@ownedPackages.0/@ownedPackages.0/@ownedElements.2/@bodyDeclarations.1"/>
</measurements>
<measurements xsi:type="smm:DirectMeasurement" name="energy" inRelationships="//@observations.0/@observedMeasures.6/@measurements.0/@measurementRelationships.1" value="1770.0"/>
<measurements xsi:type="smm:DirectMeasurement" name="duration" inRelationships="//@observations.0/@observedMeasures.6/@measurements.0/@measurementRelationships.2" value="170155.0"/>
</observedMeasures>
<observedMeasures measure="//@libraries.0/@measureElements.0">
<measurements xsi:type="smm:CollectiveMeasurement" name="com.tblf.SimpleProject.App$method" inRelationships="//@observations.0/@observedMeasures.7/@measurements.0/@measurementRelationships.0" outRelationships="//@observations.0/@observedMeasures.7/@measurements.0/@measurementRelationships.1 //@observations.0/@observedMeasures.7/@measurements.0/@measurementRelationships.2" baseMeasurementFrom="//@observations.0/@observedMeasures.7/@measurements.0/@measurementRelationships.0">
<measurementRelationships xsi:type="smm:BaseNMeasurementRelationship" name="call" to="//@observations.0/@observedMeasures.7/@measurements.0" from="//@observations.0/@observedMeasures.5/@measurements.0"/>
<measurementRelationships xsi:type="smm:BaseNMeasurementRelationship" name="energy" to="//@observations.0/@observedMeasures.7/@measurements.1" from="//@observations.0/@observedMeasures.7/@measurements.0"/>
<measurementRelationships xsi:type="smm:BaseNMeasurementRelationship" name="duration" to="//@observations.0/@observedMeasures.7/@measurements.2" from="//@observations.0/@observedMeasures.7/@measurements.0"/>
<measurand href="src/test/resources/SimpleProject/SimpleProject_java.xmi#//@ownedElements.0/@ownedPackages.0/@ownedPackages.0/@ownedElements.2/@bodyDeclarations.2"/>
</measurements>
<measurements xsi:type="smm:DirectMeasurement" name="energy" inRelationships="//@observations.0/@observedMeasures.7/@measurements.0/@measurementRelationships.1" value="1892.0"/>
<measurements xsi:type="smm:DirectMeasurement" name="duration" inRelationships="//@observations.0/@observedMeasures.7/@measurements.0/@measurementRelationships.2" value="189135.0"/>
</observedMeasures>
</observations>
</smm:SmmModel>