Changeset 282 for xssim/trunk/src/test/rewolucja
- Timestamp:
- 04/19/12 16:32:45 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
xssim/trunk/src/test/rewolucja/schemas/XSSimResSchema.xsd
r234 r282 16 16 <xs:simpleType name="computingResourceParameterName"> 17 17 <xs:restriction base="xs:string"> 18 <xs:enumeration value="count"/>19 18 <xs:enumeration value="arch"/> 20 19 <xs:enumeration value="memory"/> … … 33 32 </xs:simpleType> 34 33 35 <xs:complexType name="logicalResourceParameterType"> 34 <!-- 35 <xs:complexType name="logicalResourceParameterType"> 36 36 <xs:annotation> 37 37 <xs:documentation>Computational resource related parameter</xs:documentation> … … 49 49 </xs:restriction> 50 50 </xs:simpleType> 51 --> 52 53 <xs:complexType name="pStateType"> 54 <xs:sequence> 55 <xs:element name="name" type="xs:string"></xs:element> 56 <xs:element name="frequency" type="xs:double"></xs:element> 57 <xs:element name="voltage" type="xs:double"></xs:element> 58 <xs:element name="power" type="xs:double"></xs:element> 59 </xs:sequence> 60 </xs:complexType> 61 62 <xs:complexType name="pStatesType"> 63 <xs:choice minOccurs="1" maxOccurs="unbounded"> 64 <xs:element name="pState" type="pStateType"></xs:element> 65 </xs:choice> 66 </xs:complexType> 67 68 <xs:complexType name="powerStatesType"> 69 <xs:choice minOccurs="1" maxOccurs="unbounded"> 70 <xs:element name="powerState" type="powerStateType"></xs:element> 71 </xs:choice> 72 </xs:complexType> 73 74 <xs:complexType name="powerStateType"> 75 <xs:sequence> 76 <xs:element name="name" type="xs:string"></xs:element> 77 <xs:element name="power" type="xs:double" minOccurs="0" maxOccurs="1"></xs:element> 78 </xs:sequence> 79 </xs:complexType> 51 80 52 81 <xs:complexType name="energyParameterType"> … … 68 97 </xs:simpleType> 69 98 99 <xs:complexType name="energyEstimationPluginType"> 100 <xs:annotation> 101 <xs:documentation>Computational resource related parameter</xs:documentation> 102 </xs:annotation> 103 <xs:sequence> 104 <xs:element name="name" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element> 105 <xs:choice minOccurs="0" maxOccurs="unbounded"> 106 <xs:element name="energyParameter" type="energyParameterType"></xs:element> 107 </xs:choice> 108 </xs:sequence> 109 </xs:complexType> 110 111 <xs:complexType name="energyProfileType"> 112 <xs:annotation> 113 <xs:documentation>Computational resource related parameter</xs:documentation> 114 </xs:annotation> 115 <xs:sequence> 116 <xs:element name="name" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element> 117 <xs:choice minOccurs="0" maxOccurs="unbounded"> 118 <xs:element name="pStates" type="pStatesType"></xs:element> 119 <xs:element name="powerStates" type="powerStatesType"></xs:element> 120 <xs:element name="energyParameter" type="energyParameterType"></xs:element> 121 </xs:choice> 122 </xs:sequence> 123 </xs:complexType> 124 125 <xs:complexType name="schedulingPluginType"> 126 <xs:annotation> 127 <xs:documentation>Computational resource related parameter</xs:documentation> 128 </xs:annotation> 129 <xs:sequence> 130 <xs:element name="name" type="xs:string" minOccurs="0" maxOccurs="1"></xs:element> 131 <xs:element name="frequency" type="xs:integer" minOccurs="0" maxOccurs="1"></xs:element> 132 </xs:sequence> 133 </xs:complexType> 134 70 135 <xs:complexType name="schedulingParameterType"> 71 136 <xs:annotation> 72 <xs:documentation> Computationalresource related parameter</xs:documentation>137 <xs:documentation>Scheduling resource related parameter</xs:documentation> 73 138 </xs:annotation> 74 139 <xs:complexContent> … … 81 146 <xs:simpleType name="schedulingParameterName"> 82 147 <xs:restriction base="xs:string"> 83 <xs:enumeration value=" schedulingPlugin"/>148 <xs:enumeration value="frequency"/> 84 149 </xs:restriction> 85 150 </xs:simpleType> … … 126 191 </xs:complexType> 127 192 128 <xs:simpleType name="resourceList"> 129 <xs:list itemType="xs:string"></xs:list> 130 </xs:simpleType> 193 <xs:complexType name="resourceList"> 194 <xs:choice minOccurs="0" maxOccurs="unbounded"> 195 <xs:element name="resourceId" type="xs:string"></xs:element> 196 </xs:choice> 197 </xs:complexType> 131 198 132 199 <xs:complexType name="computingResourceType"> … … 139 206 <xs:element name="computingResource" type="computingResourceType"></xs:element> 140 207 <xs:element name="resourceParameter" type="computingResourceParameterType"></xs:element> 141 <xs:element name="energy Parameter" type="energyParameterType"></xs:element>142 <xs:element name=" schedulingParameter" type="schedulingParameterType"></xs:element>208 <xs:element name="energyEstimationPlugin" type="energyEstimationPluginType"></xs:element> 209 <xs:element name="energyProfile" type="energyProfileType"></xs:element> 143 210 <xs:element name="otherParameter" type="otherParameterType"/> 144 211 </xs:choice> … … 147 214 </xs:complexType> 148 215 149 <xs:complexType name=" logicalResourceType">216 <xs:complexType name="schedulerType"> 150 217 <xs:annotation> 151 218 <xs:documentation>Computing resource</xs:documentation> … … 154 221 <xs:extension base="resource"> 155 222 <xs:sequence minOccurs="0" maxOccurs="1"> 156 <xs:element name="schedulingP arameter" type="schedulingParameterType" minOccurs="0" maxOccurs="1"></xs:element>223 <xs:element name="schedulingPlugin" type="schedulingPluginType" minOccurs="0" maxOccurs="1"></xs:element> 157 224 <xs:choice minOccurs="0" maxOccurs="unbounded"> 225 <xs:element name="scheduler" type="schedulerType"></xs:element> 158 226 <xs:element name="managedComputingResource" type="managedComputingResourceType" minOccurs="0" maxOccurs="1"></xs:element> 159 <xs:element name="logicalResource" type="logicalResourceType"></xs:element> 160 <xs:element name="otherParameter" type="otherParameterType"/> 227 <xs:element name="schedulingParameter" type="schedulingParameterType" minOccurs="0" maxOccurs="1"></xs:element> 161 228 </xs:choice> 162 229 </xs:sequence> … … 168 235 <xs:attribute name="resourceType" type="xs:string" use="required" /> 169 236 <xs:attribute name="resourceId" type="xs:string" use="optional" /> 237 <xs:attribute name="count" type="xs:integer" use="optional" /> 170 238 </xs:complexType> 171 239 … … 185 253 <xs:element name="computingResource" type="computingResourceType" maxOccurs="unbounded"> 186 254 </xs:element> 187 <xs:element name=" logicalResource" type="logicalResourceType" minOccurs="0">255 <xs:element name="scheduler" type="schedulerType" minOccurs="0"> 188 256 </xs:element> 189 257 </xs:sequence>
Note: See TracChangeset
for help on using the changeset viewer.