1 | <?xml version="1.0" encoding="utf-8"?> |
---|
2 | <cheddar> |
---|
3 | <core_units> |
---|
4 | <core_unit id="id_1"> |
---|
5 | <object_type>CORE_OBJECT_TYPE</object_type> |
---|
6 | <name>my_core</name> |
---|
7 | <scheduling> |
---|
8 | <scheduling_parameters> |
---|
9 | <scheduler_type>RATE_MONOTONIC_PROTOCOL</scheduler_type> |
---|
10 | <quantum>0</quantum> |
---|
11 | <preemptive_type>PREEMPTIVE</preemptive_type> |
---|
12 | <capacity>0</capacity> |
---|
13 | <period>0</period> |
---|
14 | <priority>0</priority> |
---|
15 | <start_time>0</start_time> |
---|
16 | </scheduling_parameters> |
---|
17 | </scheduling> |
---|
18 | <speed>0.00000</speed> |
---|
19 | </core_unit> |
---|
20 | </core_units> |
---|
21 | <processors> |
---|
22 | <mono_core_processor id="id_2"> |
---|
23 | <object_type>PROCESSOR_OBJECT_TYPE</object_type> |
---|
24 | <name>my_processor</name> |
---|
25 | <processor_type>MONOCORE_TYPE</processor_type> |
---|
26 | <migration_type>NO_MIGRATION_TYPE</migration_type> |
---|
27 | <core ref="id_1"> |
---|
28 | </core> |
---|
29 | </mono_core_processor> |
---|
30 | </processors> |
---|
31 | <address_spaces> |
---|
32 | <address_space id="id_3"> |
---|
33 | <object_type>ADDRESS_SPACE_OBJECT_TYPE</object_type> |
---|
34 | <name>address_space_1</name> |
---|
35 | <cpu_name>my_processor</cpu_name> |
---|
36 | <text_memory_size>0</text_memory_size> |
---|
37 | <stack_memory_size>0</stack_memory_size> |
---|
38 | <data_memory_size>0</data_memory_size> |
---|
39 | <heap_memory_size>0</heap_memory_size> |
---|
40 | <scheduling> |
---|
41 | <scheduling_parameters> |
---|
42 | <scheduler_type>NO_SCHEDULING_PROTOCOL</scheduler_type> |
---|
43 | <quantum>0</quantum> |
---|
44 | <preemptive_type>PREEMPTIVE</preemptive_type> |
---|
45 | <capacity>0</capacity> |
---|
46 | <period>0</period> |
---|
47 | <priority>0</priority> |
---|
48 | <start_time>0</start_time> |
---|
49 | </scheduling_parameters> |
---|
50 | </scheduling> |
---|
51 | </address_space> |
---|
52 | <address_space id="id_4"> |
---|
53 | <object_type>ADDRESS_SPACE_OBJECT_TYPE</object_type> |
---|
54 | <name>address_space_buffer</name> |
---|
55 | <cpu_name>my_processor</cpu_name> |
---|
56 | <text_memory_size>0</text_memory_size> |
---|
57 | <stack_memory_size>0</stack_memory_size> |
---|
58 | <data_memory_size>0</data_memory_size> |
---|
59 | <heap_memory_size>0</heap_memory_size> |
---|
60 | <scheduling> |
---|
61 | <scheduling_parameters> |
---|
62 | <scheduler_type>NO_SCHEDULING_PROTOCOL</scheduler_type> |
---|
63 | <quantum>0</quantum> |
---|
64 | <preemptive_type>PREEMPTIVE</preemptive_type> |
---|
65 | <capacity>0</capacity> |
---|
66 | <period>0</period> |
---|
67 | <priority>0</priority> |
---|
68 | <start_time>0</start_time> |
---|
69 | </scheduling_parameters> |
---|
70 | </scheduling> |
---|
71 | </address_space> |
---|
72 | </address_spaces> |
---|
73 | <tasks> |
---|
74 | <periodic_task id="id_5"> |
---|
75 | <object_type>TASK_OBJECT_TYPE</object_type> |
---|
76 | <name>T1</name> |
---|
77 | <task_type>PERIODIC_TYPE</task_type> |
---|
78 | <cpu_name>my_processor</cpu_name> |
---|
79 | <address_space_name>address_space_1</address_space_name> |
---|
80 | <capacity>1</capacity> |
---|
81 | <deadline>5</deadline> |
---|
82 | <start_time>0</start_time> |
---|
83 | <priority>1</priority> |
---|
84 | <blocking_time>0</blocking_time> |
---|
85 | <policy>SCHED_FIFO</policy> |
---|
86 | <text_memory_size>0</text_memory_size> |
---|
87 | <stack_memory_size>0</stack_memory_size> |
---|
88 | <criticality>0</criticality> |
---|
89 | <context_switch_overhead>0</context_switch_overhead> |
---|
90 | <period>5</period> |
---|
91 | <jitter>0</jitter> |
---|
92 | <every>0</every> |
---|
93 | </periodic_task> |
---|
94 | <periodic_task id="id_6"> |
---|
95 | <object_type>TASK_OBJECT_TYPE</object_type> |
---|
96 | <name>T2</name> |
---|
97 | <task_type>PERIODIC_TYPE</task_type> |
---|
98 | <cpu_name>my_processor</cpu_name> |
---|
99 | <address_space_name>address_space_1</address_space_name> |
---|
100 | <capacity>5</capacity> |
---|
101 | <deadline>21</deadline> |
---|
102 | <start_time>0</start_time> |
---|
103 | <priority>1</priority> |
---|
104 | <blocking_time>0</blocking_time> |
---|
105 | <policy>SCHED_FIFO</policy> |
---|
106 | <text_memory_size>0</text_memory_size> |
---|
107 | <stack_memory_size>0</stack_memory_size> |
---|
108 | <criticality>0</criticality> |
---|
109 | <context_switch_overhead>0</context_switch_overhead> |
---|
110 | <period>21</period> |
---|
111 | <jitter>0</jitter> |
---|
112 | <every>0</every> |
---|
113 | </periodic_task> |
---|
114 | <periodic_task id="id_7"> |
---|
115 | <object_type>TASK_OBJECT_TYPE</object_type> |
---|
116 | <name>T3</name> |
---|
117 | <task_type>PERIODIC_TYPE</task_type> |
---|
118 | <cpu_name>my_processor</cpu_name> |
---|
119 | <address_space_name>address_space_1</address_space_name> |
---|
120 | <capacity>20</capacity> |
---|
121 | <deadline>46</deadline> |
---|
122 | <start_time>0</start_time> |
---|
123 | <priority>1</priority> |
---|
124 | <blocking_time>0</blocking_time> |
---|
125 | <policy>SCHED_FIFO</policy> |
---|
126 | <text_memory_size>0</text_memory_size> |
---|
127 | <stack_memory_size>0</stack_memory_size> |
---|
128 | <criticality>0</criticality> |
---|
129 | <context_switch_overhead>0</context_switch_overhead> |
---|
130 | <period>46</period> |
---|
131 | <jitter>0</jitter> |
---|
132 | <every>0</every> |
---|
133 | </periodic_task> |
---|
134 | </tasks> |
---|
135 | <resources> |
---|
136 | <pip_resource id="id_9"> |
---|
137 | <object_type>RESOURCE_OBJECT_TYPE</object_type> |
---|
138 | <name>sem1</name> |
---|
139 | <state>1</state> |
---|
140 | <size>0</size> |
---|
141 | <address>0</address> |
---|
142 | <protocol>PRIORITY_INHERITANCE_PROTOCOL</protocol> |
---|
143 | <critical_sections> |
---|
144 | <task_name>T1</task_name> |
---|
145 | <critical_section> |
---|
146 | <task_begin>1</task_begin> |
---|
147 | <task_end>1</task_end> |
---|
148 | </critical_section> |
---|
149 | <task_name>T2</task_name> |
---|
150 | <critical_section> |
---|
151 | <task_begin>1</task_begin> |
---|
152 | <task_end>5</task_end> |
---|
153 | </critical_section> |
---|
154 | </critical_sections> |
---|
155 | <cpu_name>my_processor</cpu_name> |
---|
156 | <address_space_name>address_space_1</address_space_name> |
---|
157 | <priority>0</priority> |
---|
158 | <priority_assignment>AUTOMATIC_ASSIGNMENT</priority_assignment> |
---|
159 | </pip_resource> |
---|
160 | </resources> |
---|
161 | <buffers> |
---|
162 | <buffer id="id_8"> |
---|
163 | <object_type>BUFFER_OBJECT_TYPE</object_type> |
---|
164 | <name>buff</name> |
---|
165 | <cpu_name>my_processor</cpu_name> |
---|
166 | <address_space_name>address_space_buffer</address_space_name> |
---|
167 | <queueing_system_type>QS_PP1</queueing_system_type> |
---|
168 | <buffer_size>10</buffer_size> |
---|
169 | <roles> |
---|
170 | <task_name>T2</task_name> |
---|
171 | <buffer_role> |
---|
172 | <the_role>QUEUING_CONSUMER</the_role> |
---|
173 | <size>1</size> |
---|
174 | <time>5</time> |
---|
175 | <timeout>0</timeout> |
---|
176 | </buffer_role> |
---|
177 | <task_name>T1</task_name> |
---|
178 | <buffer_role> |
---|
179 | <the_role>QUEUING_PRODUCER</the_role> |
---|
180 | <size>1</size> |
---|
181 | <time>1</time> |
---|
182 | <timeout>0</timeout> |
---|
183 | </buffer_role> |
---|
184 | </roles> |
---|
185 | </buffer> |
---|
186 | </buffers> |
---|
187 | </cheddar> |
---|
188 | |
---|