Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Keep extending the DTD to handle an computation/communication interference model
[simgrid.git] / src / surf / surfxml.dtd
1 <!-- Small DTD for SURF based tools. -->
2 <!ELEMENT platform_description ((include|cpu|network_link|route|process)*)>
3
4 <!ELEMENT include ((include|cpu|network_link|route|process)*)>
5 <!ATTLIST include file CDATA #REQUIRED>
6
7 <!ELEMENT cpu EMPTY>
8 <!ATTLIST cpu name CDATA #REQUIRED>
9 <!ATTLIST cpu power CDATA #REQUIRED>
10 <!ATTLIST cpu availability CDATA "1.0">
11 <!ATTLIST cpu availability_file CDATA "">
12 <!ATTLIST cpu state (ON|OFF) "ON">
13 <!ATTLIST cpu state_file CDATA "">
14 <!ATTLIST cpu interference_send CDATA "1.0">
15 <!ATTLIST cpu interference_recv CDATA "1.0">
16 <!ATTLIST cpu interference_send_recv CDATA "1.0">
17
18 <!ELEMENT network_link EMPTY>
19 <!ATTLIST network_link name CDATA #REQUIRED>
20 <!ATTLIST network_link bandwidth CDATA  #REQUIRED>
21 <!ATTLIST network_link bandwidth_file CDATA "">
22 <!ATTLIST network_link latency CDATA "0.0">
23 <!ATTLIST network_link latency_file CDATA "">
24 <!ATTLIST network_link state (ON|OFF) "ON">
25 <!ATTLIST network_link state_file CDATA "">
26
27 <!ELEMENT route (route_element*)>
28 <!ATTLIST route src CDATA #REQUIRED>
29 <!ATTLIST route dst CDATA #REQUIRED>
30 <!ATTLIST route impact_on_src CDATA>
31 <!ATTLIST route impact_on_dst CDATA>
32 <!ATTLIST route impact_on_src_with_other_recv CDATA>
33 <!ATTLIST route impact_on_dst_with_other_send CDATA>
34
35 <!ELEMENT route_element EMPTY>
36 <!ATTLIST route_element name CDATA #REQUIRED>
37
38 <!ELEMENT process (argument*)>
39 <!ATTLIST process host CDATA #REQUIRED>
40 <!ATTLIST process function CDATA #REQUIRED>
41
42 <!ELEMENT argument EMPTY>
43 <!ATTLIST argument value CDATA #REQUIRED>