Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
New function: MSG_parallel_task_execute_with_timeout
[simgrid.git] / src / simix / popping_accessors.h
1 /**********************************************************************/
2 /* File generated by src/simix/simcalls.py from src/simix/simcalls.in */
3 /*                                                                    */
4 /*                    DO NOT EVER CHANGE THIS FILE                    */
5 /*                                                                    */
6 /* change simcalls specification in src/simix/simcalls.in             */
7 /**********************************************************************/
8
9 /*
10  * Note that the name comes from http://en.wikipedia.org/wiki/Popping
11  * Indeed, the control flow is doing a strange dance in there.
12  *
13  * That's not about http://en.wikipedia.org/wiki/Poop, despite the odor :)
14  */
15
16 #include "src/simix/popping_private.h"
17 static inline sg_host_t simcall_vm_suspend__get__ind_vm(smx_simcall_t simcall) {
18   return simgrid::simix::unmarshal<sg_host_t>(simcall->args[0]);
19 }
20 static inline void simcall_vm_suspend__set__ind_vm(smx_simcall_t simcall, sg_host_t arg) {
21     simgrid::simix::marshal<sg_host_t>(simcall->args[0], arg);
22 }
23
24 static inline sg_host_t simcall_vm_resume__get__ind_vm(smx_simcall_t simcall) {
25   return simgrid::simix::unmarshal<sg_host_t>(simcall->args[0]);
26 }
27 static inline void simcall_vm_resume__set__ind_vm(smx_simcall_t simcall, sg_host_t arg) {
28     simgrid::simix::marshal<sg_host_t>(simcall->args[0], arg);
29 }
30
31 static inline sg_host_t simcall_vm_shutdown__get__ind_vm(smx_simcall_t simcall) {
32   return simgrid::simix::unmarshal<sg_host_t>(simcall->args[0]);
33 }
34 static inline void simcall_vm_shutdown__set__ind_vm(smx_simcall_t simcall, sg_host_t arg) {
35     simgrid::simix::marshal<sg_host_t>(simcall->args[0], arg);
36 }
37
38 static inline sg_host_t simcall_vm_save__get__ind_vm(smx_simcall_t simcall) {
39   return simgrid::simix::unmarshal<sg_host_t>(simcall->args[0]);
40 }
41 static inline void simcall_vm_save__set__ind_vm(smx_simcall_t simcall, sg_host_t arg) {
42     simgrid::simix::marshal<sg_host_t>(simcall->args[0], arg);
43 }
44
45 static inline sg_host_t simcall_vm_restore__get__ind_vm(smx_simcall_t simcall) {
46   return simgrid::simix::unmarshal<sg_host_t>(simcall->args[0]);
47 }
48 static inline void simcall_vm_restore__set__ind_vm(smx_simcall_t simcall, sg_host_t arg) {
49     simgrid::simix::marshal<sg_host_t>(simcall->args[0], arg);
50 }
51
52 static inline smx_actor_t simcall_process_kill__get__process(smx_simcall_t simcall) {
53   return simgrid::simix::unmarshal<smx_actor_t>(simcall->args[0]);
54 }
55 static inline void simcall_process_kill__set__process(smx_simcall_t simcall, smx_actor_t arg) {
56     simgrid::simix::marshal<smx_actor_t>(simcall->args[0], arg);
57 }
58
59 static inline int simcall_process_killall__get__reset_pid(smx_simcall_t simcall) {
60   return simgrid::simix::unmarshal<int>(simcall->args[0]);
61 }
62 static inline void simcall_process_killall__set__reset_pid(smx_simcall_t simcall, int arg) {
63     simgrid::simix::marshal<int>(simcall->args[0], arg);
64 }
65
66 static inline smx_actor_t simcall_process_cleanup__get__process(smx_simcall_t simcall) {
67   return simgrid::simix::unmarshal<smx_actor_t>(simcall->args[0]);
68 }
69 static inline void simcall_process_cleanup__set__process(smx_simcall_t simcall, smx_actor_t arg) {
70     simgrid::simix::marshal<smx_actor_t>(simcall->args[0], arg);
71 }
72
73 static inline smx_actor_t simcall_process_suspend__get__process(smx_simcall_t simcall) {
74   return simgrid::simix::unmarshal<smx_actor_t>(simcall->args[0]);
75 }
76 static inline void simcall_process_suspend__set__process(smx_simcall_t simcall, smx_actor_t arg) {
77     simgrid::simix::marshal<smx_actor_t>(simcall->args[0], arg);
78 }
79
80 static inline smx_actor_t simcall_process_resume__get__process(smx_simcall_t simcall) {
81   return simgrid::simix::unmarshal<smx_actor_t>(simcall->args[0]);
82 }
83 static inline void simcall_process_resume__set__process(smx_simcall_t simcall, smx_actor_t arg) {
84     simgrid::simix::marshal<smx_actor_t>(simcall->args[0], arg);
85 }
86
87 static inline smx_actor_t simcall_process_set_host__get__process(smx_simcall_t simcall) {
88   return simgrid::simix::unmarshal<smx_actor_t>(simcall->args[0]);
89 }
90 static inline void simcall_process_set_host__set__process(smx_simcall_t simcall, smx_actor_t arg) {
91     simgrid::simix::marshal<smx_actor_t>(simcall->args[0], arg);
92 }
93 static inline sg_host_t simcall_process_set_host__get__dest(smx_simcall_t simcall) {
94   return simgrid::simix::unmarshal<sg_host_t>(simcall->args[1]);
95 }
96 static inline void simcall_process_set_host__set__dest(smx_simcall_t simcall, sg_host_t arg) {
97     simgrid::simix::marshal<sg_host_t>(simcall->args[1], arg);
98 }
99
100 static inline smx_actor_t simcall_process_is_suspended__get__process(smx_simcall_t simcall) {
101   return simgrid::simix::unmarshal<smx_actor_t>(simcall->args[0]);
102 }
103 static inline void simcall_process_is_suspended__set__process(smx_simcall_t simcall, smx_actor_t arg) {
104     simgrid::simix::marshal<smx_actor_t>(simcall->args[0], arg);
105 }
106 static inline int simcall_process_is_suspended__get__result(smx_simcall_t simcall){
107     return simgrid::simix::unmarshal<int>(simcall->result);
108 }
109 static inline void simcall_process_is_suspended__set__result(smx_simcall_t simcall, int result){
110     simgrid::simix::marshal<int>(simcall->result, result);
111 }
112
113 static inline smx_actor_t simcall_process_join__get__process(smx_simcall_t simcall) {
114   return simgrid::simix::unmarshal<smx_actor_t>(simcall->args[0]);
115 }
116 static inline void simcall_process_join__set__process(smx_simcall_t simcall, smx_actor_t arg) {
117     simgrid::simix::marshal<smx_actor_t>(simcall->args[0], arg);
118 }
119 static inline double simcall_process_join__get__timeout(smx_simcall_t simcall) {
120   return simgrid::simix::unmarshal<double>(simcall->args[1]);
121 }
122 static inline void simcall_process_join__set__timeout(smx_simcall_t simcall, double arg) {
123     simgrid::simix::marshal<double>(simcall->args[1], arg);
124 }
125 static inline int simcall_process_join__get__result(smx_simcall_t simcall){
126     return simgrid::simix::unmarshal<int>(simcall->result);
127 }
128 static inline void simcall_process_join__set__result(smx_simcall_t simcall, int result){
129     simgrid::simix::marshal<int>(simcall->result, result);
130 }
131
132 static inline double simcall_process_sleep__get__duration(smx_simcall_t simcall) {
133   return simgrid::simix::unmarshal<double>(simcall->args[0]);
134 }
135 static inline void simcall_process_sleep__set__duration(smx_simcall_t simcall, double arg) {
136     simgrid::simix::marshal<double>(simcall->args[0], arg);
137 }
138 static inline int simcall_process_sleep__get__result(smx_simcall_t simcall){
139     return simgrid::simix::unmarshal<int>(simcall->result);
140 }
141 static inline void simcall_process_sleep__set__result(smx_simcall_t simcall, int result){
142     simgrid::simix::marshal<int>(simcall->result, result);
143 }
144
145 static inline const char* simcall_execution_start__get__name(smx_simcall_t simcall) {
146   return simgrid::simix::unmarshal<const char*>(simcall->args[0]);
147 }
148 static inline void simcall_execution_start__set__name(smx_simcall_t simcall, const char* arg) {
149     simgrid::simix::marshal<const char*>(simcall->args[0], arg);
150 }
151 static inline double simcall_execution_start__get__flops_amount(smx_simcall_t simcall) {
152   return simgrid::simix::unmarshal<double>(simcall->args[1]);
153 }
154 static inline void simcall_execution_start__set__flops_amount(smx_simcall_t simcall, double arg) {
155     simgrid::simix::marshal<double>(simcall->args[1], arg);
156 }
157 static inline double simcall_execution_start__get__priority(smx_simcall_t simcall) {
158   return simgrid::simix::unmarshal<double>(simcall->args[2]);
159 }
160 static inline void simcall_execution_start__set__priority(smx_simcall_t simcall, double arg) {
161     simgrid::simix::marshal<double>(simcall->args[2], arg);
162 }
163 static inline double simcall_execution_start__get__bound(smx_simcall_t simcall) {
164   return simgrid::simix::unmarshal<double>(simcall->args[3]);
165 }
166 static inline void simcall_execution_start__set__bound(smx_simcall_t simcall, double arg) {
167     simgrid::simix::marshal<double>(simcall->args[3], arg);
168 }
169 static inline smx_activity_t simcall_execution_start__get__result(smx_simcall_t simcall){
170     return simgrid::simix::unmarshal<smx_activity_t>(simcall->result);
171 }
172 static inline void simcall_execution_start__set__result(smx_simcall_t simcall, smx_activity_t result){
173     simgrid::simix::marshal<smx_activity_t>(simcall->result, result);
174 }
175
176 static inline const char* simcall_execution_parallel_start__get__name(smx_simcall_t simcall) {
177   return simgrid::simix::unmarshal<const char*>(simcall->args[0]);
178 }
179 static inline void simcall_execution_parallel_start__set__name(smx_simcall_t simcall, const char* arg) {
180     simgrid::simix::marshal<const char*>(simcall->args[0], arg);
181 }
182 static inline int simcall_execution_parallel_start__get__host_nb(smx_simcall_t simcall) {
183   return simgrid::simix::unmarshal<int>(simcall->args[1]);
184 }
185 static inline void simcall_execution_parallel_start__set__host_nb(smx_simcall_t simcall, int arg) {
186     simgrid::simix::marshal<int>(simcall->args[1], arg);
187 }
188 static inline sg_host_t* simcall_execution_parallel_start__get__host_list(smx_simcall_t simcall) {
189   return simgrid::simix::unmarshal<sg_host_t*>(simcall->args[2]);
190 }
191 static inline void simcall_execution_parallel_start__set__host_list(smx_simcall_t simcall, sg_host_t* arg) {
192     simgrid::simix::marshal<sg_host_t*>(simcall->args[2], arg);
193 }
194 static inline double* simcall_execution_parallel_start__get__flops_amount(smx_simcall_t simcall) {
195   return simgrid::simix::unmarshal<double*>(simcall->args[3]);
196 }
197 static inline void simcall_execution_parallel_start__set__flops_amount(smx_simcall_t simcall, double* arg) {
198     simgrid::simix::marshal<double*>(simcall->args[3], arg);
199 }
200 static inline double* simcall_execution_parallel_start__get__bytes_amount(smx_simcall_t simcall) {
201   return simgrid::simix::unmarshal<double*>(simcall->args[4]);
202 }
203 static inline void simcall_execution_parallel_start__set__bytes_amount(smx_simcall_t simcall, double* arg) {
204     simgrid::simix::marshal<double*>(simcall->args[4], arg);
205 }
206 static inline double simcall_execution_parallel_start__get__amount(smx_simcall_t simcall) {
207   return simgrid::simix::unmarshal<double>(simcall->args[5]);
208 }
209 static inline void simcall_execution_parallel_start__set__amount(smx_simcall_t simcall, double arg) {
210     simgrid::simix::marshal<double>(simcall->args[5], arg);
211 }
212 static inline double simcall_execution_parallel_start__get__rate(smx_simcall_t simcall) {
213   return simgrid::simix::unmarshal<double>(simcall->args[6]);
214 }
215 static inline void simcall_execution_parallel_start__set__rate(smx_simcall_t simcall, double arg) {
216     simgrid::simix::marshal<double>(simcall->args[6], arg);
217 }
218 static inline double simcall_execution_parallel_start__get__timeout(smx_simcall_t simcall)
219 {
220   return simgrid::simix::unmarshal<double>(simcall->args[7]);
221 }
222 static inline void simcall_execution_parallel_start__set__timeout(smx_simcall_t simcall, double arg)
223 {
224   simgrid::simix::marshal<double>(simcall->args[7], arg);
225 }
226 static inline smx_activity_t simcall_execution_parallel_start__get__result(smx_simcall_t simcall){
227     return simgrid::simix::unmarshal<smx_activity_t>(simcall->result);
228 }
229 static inline void simcall_execution_parallel_start__set__result(smx_simcall_t simcall, smx_activity_t result){
230     simgrid::simix::marshal<smx_activity_t>(simcall->result, result);
231 }
232
233 static inline smx_activity_t simcall_execution_cancel__get__execution(smx_simcall_t simcall) {
234   return simgrid::simix::unmarshal<smx_activity_t>(simcall->args[0]);
235 }
236 static inline void simcall_execution_cancel__set__execution(smx_simcall_t simcall, smx_activity_t arg) {
237     simgrid::simix::marshal<smx_activity_t>(simcall->args[0], arg);
238 }
239
240 static inline smx_activity_t simcall_execution_set_priority__get__execution(smx_simcall_t simcall) {
241   return simgrid::simix::unmarshal<smx_activity_t>(simcall->args[0]);
242 }
243 static inline void simcall_execution_set_priority__set__execution(smx_simcall_t simcall, smx_activity_t arg) {
244     simgrid::simix::marshal<smx_activity_t>(simcall->args[0], arg);
245 }
246 static inline double simcall_execution_set_priority__get__priority(smx_simcall_t simcall) {
247   return simgrid::simix::unmarshal<double>(simcall->args[1]);
248 }
249 static inline void simcall_execution_set_priority__set__priority(smx_simcall_t simcall, double arg) {
250     simgrid::simix::marshal<double>(simcall->args[1], arg);
251 }
252
253 static inline smx_activity_t simcall_execution_set_bound__get__execution(smx_simcall_t simcall) {
254   return simgrid::simix::unmarshal<smx_activity_t>(simcall->args[0]);
255 }
256 static inline void simcall_execution_set_bound__set__execution(smx_simcall_t simcall, smx_activity_t arg) {
257     simgrid::simix::marshal<smx_activity_t>(simcall->args[0], arg);
258 }
259 static inline double simcall_execution_set_bound__get__bound(smx_simcall_t simcall) {
260   return simgrid::simix::unmarshal<double>(simcall->args[1]);
261 }
262 static inline void simcall_execution_set_bound__set__bound(smx_simcall_t simcall, double arg) {
263     simgrid::simix::marshal<double>(simcall->args[1], arg);
264 }
265
266 static inline smx_activity_t simcall_execution_wait__get__execution(smx_simcall_t simcall) {
267   return simgrid::simix::unmarshal<smx_activity_t>(simcall->args[0]);
268 }
269 static inline void simcall_execution_wait__set__execution(smx_simcall_t simcall, smx_activity_t arg) {
270     simgrid::simix::marshal<smx_activity_t>(simcall->args[0], arg);
271 }
272 static inline int simcall_execution_wait__get__result(smx_simcall_t simcall){
273     return simgrid::simix::unmarshal<int>(simcall->result);
274 }
275 static inline void simcall_execution_wait__set__result(smx_simcall_t simcall, int result){
276     simgrid::simix::marshal<int>(simcall->result, result);
277 }
278
279 static inline smx_actor_t simcall_process_on_exit__get__process(smx_simcall_t simcall) {
280   return simgrid::simix::unmarshal<smx_actor_t>(simcall->args[0]);
281 }
282 static inline void simcall_process_on_exit__set__process(smx_simcall_t simcall, smx_actor_t arg) {
283     simgrid::simix::marshal<smx_actor_t>(simcall->args[0], arg);
284 }
285 static inline int_f_pvoid_pvoid_t simcall_process_on_exit__get__fun(smx_simcall_t simcall) {
286   return simgrid::simix::unmarshal<int_f_pvoid_pvoid_t>(simcall->args[1]);
287 }
288 static inline void simcall_process_on_exit__set__fun(smx_simcall_t simcall, int_f_pvoid_pvoid_t arg) {
289     simgrid::simix::marshal<int_f_pvoid_pvoid_t>(simcall->args[1], arg);
290 }
291 static inline void* simcall_process_on_exit__get__data(smx_simcall_t simcall) {
292   return simgrid::simix::unmarshal<void*>(simcall->args[2]);
293 }
294 static inline void simcall_process_on_exit__set__data(smx_simcall_t simcall, void* arg) {
295     simgrid::simix::marshal<void*>(simcall->args[2], arg);
296 }
297
298 static inline smx_actor_t simcall_process_auto_restart_set__get__process(smx_simcall_t simcall) {
299   return simgrid::simix::unmarshal<smx_actor_t>(simcall->args[0]);
300 }
301 static inline void simcall_process_auto_restart_set__set__process(smx_simcall_t simcall, smx_actor_t arg) {
302     simgrid::simix::marshal<smx_actor_t>(simcall->args[0], arg);
303 }
304 static inline int simcall_process_auto_restart_set__get__auto_restart(smx_simcall_t simcall) {
305   return simgrid::simix::unmarshal<int>(simcall->args[1]);
306 }
307 static inline void simcall_process_auto_restart_set__set__auto_restart(smx_simcall_t simcall, int arg) {
308     simgrid::simix::marshal<int>(simcall->args[1], arg);
309 }
310
311 static inline smx_actor_t simcall_process_restart__get__process(smx_simcall_t simcall) {
312   return simgrid::simix::unmarshal<smx_actor_t>(simcall->args[0]);
313 }
314 static inline void simcall_process_restart__set__process(smx_simcall_t simcall, smx_actor_t arg) {
315     simgrid::simix::marshal<smx_actor_t>(simcall->args[0], arg);
316 }
317 static inline smx_actor_t simcall_process_restart__get__result(smx_simcall_t simcall){
318     return simgrid::simix::unmarshal<smx_actor_t>(simcall->result);
319 }
320 static inline void simcall_process_restart__set__result(smx_simcall_t simcall, smx_actor_t result){
321     simgrid::simix::marshal<smx_actor_t>(simcall->result, result);
322 }
323
324 static inline const char* simcall_mbox_create__get__name(smx_simcall_t simcall) {
325   return simgrid::simix::unmarshal<const char*>(simcall->args[0]);
326 }
327 static inline void simcall_mbox_create__set__name(smx_simcall_t simcall, const char* arg) {
328     simgrid::simix::marshal<const char*>(simcall->args[0], arg);
329 }
330 static inline smx_mailbox_t simcall_mbox_create__get__result(smx_simcall_t simcall){
331     return simgrid::simix::unmarshal<smx_mailbox_t>(simcall->result);
332 }
333 static inline void simcall_mbox_create__set__result(smx_simcall_t simcall, smx_mailbox_t result){
334     simgrid::simix::marshal<smx_mailbox_t>(simcall->result, result);
335 }
336
337 static inline smx_mailbox_t simcall_mbox_set_receiver__get__mbox(smx_simcall_t simcall) {
338   return simgrid::simix::unmarshal<smx_mailbox_t>(simcall->args[0]);
339 }
340 static inline void simcall_mbox_set_receiver__set__mbox(smx_simcall_t simcall, smx_mailbox_t arg) {
341     simgrid::simix::marshal<smx_mailbox_t>(simcall->args[0], arg);
342 }
343 static inline smx_actor_t simcall_mbox_set_receiver__get__receiver(smx_simcall_t simcall) {
344   return simgrid::simix::unmarshal<smx_actor_t>(simcall->args[1]);
345 }
346 static inline void simcall_mbox_set_receiver__set__receiver(smx_simcall_t simcall, smx_actor_t arg) {
347     simgrid::simix::marshal<smx_actor_t>(simcall->args[1], arg);
348 }
349
350 static inline smx_mailbox_t simcall_comm_iprobe__get__mbox(smx_simcall_t simcall) {
351   return simgrid::simix::unmarshal<smx_mailbox_t>(simcall->args[0]);
352 }
353 static inline void simcall_comm_iprobe__set__mbox(smx_simcall_t simcall, smx_mailbox_t arg) {
354     simgrid::simix::marshal<smx_mailbox_t>(simcall->args[0], arg);
355 }
356 static inline int simcall_comm_iprobe__get__type(smx_simcall_t simcall) {
357   return simgrid::simix::unmarshal<int>(simcall->args[1]);
358 }
359 static inline void simcall_comm_iprobe__set__type(smx_simcall_t simcall, int arg) {
360     simgrid::simix::marshal<int>(simcall->args[1], arg);
361 }
362 static inline int simcall_comm_iprobe__get__src(smx_simcall_t simcall) {
363   return simgrid::simix::unmarshal<int>(simcall->args[2]);
364 }
365 static inline void simcall_comm_iprobe__set__src(smx_simcall_t simcall, int arg) {
366     simgrid::simix::marshal<int>(simcall->args[2], arg);
367 }
368 static inline int simcall_comm_iprobe__get__tag(smx_simcall_t simcall) {
369   return simgrid::simix::unmarshal<int>(simcall->args[3]);
370 }
371 static inline void simcall_comm_iprobe__set__tag(smx_simcall_t simcall, int arg) {
372     simgrid::simix::marshal<int>(simcall->args[3], arg);
373 }
374 static inline simix_match_func_t simcall_comm_iprobe__get__match_fun(smx_simcall_t simcall) {
375   return simgrid::simix::unmarshal<simix_match_func_t>(simcall->args[4]);
376 }
377 static inline void simcall_comm_iprobe__set__match_fun(smx_simcall_t simcall, simix_match_func_t arg) {
378     simgrid::simix::marshal<simix_match_func_t>(simcall->args[4], arg);
379 }
380 static inline void* simcall_comm_iprobe__get__data(smx_simcall_t simcall) {
381   return simgrid::simix::unmarshal<void*>(simcall->args[5]);
382 }
383 static inline void simcall_comm_iprobe__set__data(smx_simcall_t simcall, void* arg) {
384     simgrid::simix::marshal<void*>(simcall->args[5], arg);
385 }
386 static inline smx_activity_t simcall_comm_iprobe__get__result(smx_simcall_t simcall){
387     return simgrid::simix::unmarshal<smx_activity_t>(simcall->result);
388 }
389 static inline void simcall_comm_iprobe__set__result(smx_simcall_t simcall, smx_activity_t result){
390     simgrid::simix::marshal<smx_activity_t>(simcall->result, result);
391 }
392
393 static inline smx_actor_t simcall_comm_send__get__sender(smx_simcall_t simcall) {
394   return simgrid::simix::unmarshal<smx_actor_t>(simcall->args[0]);
395 }
396 static inline void simcall_comm_send__set__sender(smx_simcall_t simcall, smx_actor_t arg) {
397     simgrid::simix::marshal<smx_actor_t>(simcall->args[0], arg);
398 }
399 static inline smx_mailbox_t simcall_comm_send__get__mbox(smx_simcall_t simcall) {
400   return simgrid::simix::unmarshal<smx_mailbox_t>(simcall->args[1]);
401 }
402 static inline void simcall_comm_send__set__mbox(smx_simcall_t simcall, smx_mailbox_t arg) {
403     simgrid::simix::marshal<smx_mailbox_t>(simcall->args[1], arg);
404 }
405 static inline double simcall_comm_send__get__task_size(smx_simcall_t simcall) {
406   return simgrid::simix::unmarshal<double>(simcall->args[2]);
407 }
408 static inline void simcall_comm_send__set__task_size(smx_simcall_t simcall, double arg) {
409     simgrid::simix::marshal<double>(simcall->args[2], arg);
410 }
411 static inline double simcall_comm_send__get__rate(smx_simcall_t simcall) {
412   return simgrid::simix::unmarshal<double>(simcall->args[3]);
413 }
414 static inline void simcall_comm_send__set__rate(smx_simcall_t simcall, double arg) {
415     simgrid::simix::marshal<double>(simcall->args[3], arg);
416 }
417 static inline void* simcall_comm_send__get__src_buff(smx_simcall_t simcall) {
418   return simgrid::simix::unmarshal<void*>(simcall->args[4]);
419 }
420 static inline void simcall_comm_send__set__src_buff(smx_simcall_t simcall, void* arg) {
421     simgrid::simix::marshal<void*>(simcall->args[4], arg);
422 }
423 static inline size_t simcall_comm_send__get__src_buff_size(smx_simcall_t simcall) {
424   return simgrid::simix::unmarshal<size_t>(simcall->args[5]);
425 }
426 static inline void simcall_comm_send__set__src_buff_size(smx_simcall_t simcall, size_t arg) {
427     simgrid::simix::marshal<size_t>(simcall->args[5], arg);
428 }
429 static inline simix_match_func_t simcall_comm_send__get__match_fun(smx_simcall_t simcall) {
430   return simgrid::simix::unmarshal<simix_match_func_t>(simcall->args[6]);
431 }
432 static inline void simcall_comm_send__set__match_fun(smx_simcall_t simcall, simix_match_func_t arg) {
433     simgrid::simix::marshal<simix_match_func_t>(simcall->args[6], arg);
434 }
435 static inline simix_copy_data_func_t simcall_comm_send__get__copy_data_fun(smx_simcall_t simcall) {
436   return simgrid::simix::unmarshal<simix_copy_data_func_t>(simcall->args[7]);
437 }
438 static inline void simcall_comm_send__set__copy_data_fun(smx_simcall_t simcall, simix_copy_data_func_t arg) {
439     simgrid::simix::marshal<simix_copy_data_func_t>(simcall->args[7], arg);
440 }
441 static inline void* simcall_comm_send__get__data(smx_simcall_t simcall) {
442   return simgrid::simix::unmarshal<void*>(simcall->args[8]);
443 }
444 static inline void simcall_comm_send__set__data(smx_simcall_t simcall, void* arg) {
445     simgrid::simix::marshal<void*>(simcall->args[8], arg);
446 }
447 static inline double simcall_comm_send__get__timeout(smx_simcall_t simcall) {
448   return simgrid::simix::unmarshal<double>(simcall->args[9]);
449 }
450 static inline void simcall_comm_send__set__timeout(smx_simcall_t simcall, double arg) {
451     simgrid::simix::marshal<double>(simcall->args[9], arg);
452 }
453
454 static inline smx_actor_t simcall_comm_isend__get__sender(smx_simcall_t simcall) {
455   return simgrid::simix::unmarshal<smx_actor_t>(simcall->args[0]);
456 }
457 static inline void simcall_comm_isend__set__sender(smx_simcall_t simcall, smx_actor_t arg) {
458     simgrid::simix::marshal<smx_actor_t>(simcall->args[0], arg);
459 }
460 static inline smx_mailbox_t simcall_comm_isend__get__mbox(smx_simcall_t simcall) {
461   return simgrid::simix::unmarshal<smx_mailbox_t>(simcall->args[1]);
462 }
463 static inline void simcall_comm_isend__set__mbox(smx_simcall_t simcall, smx_mailbox_t arg) {
464     simgrid::simix::marshal<smx_mailbox_t>(simcall->args[1], arg);
465 }
466 static inline double simcall_comm_isend__get__task_size(smx_simcall_t simcall) {
467   return simgrid::simix::unmarshal<double>(simcall->args[2]);
468 }
469 static inline void simcall_comm_isend__set__task_size(smx_simcall_t simcall, double arg) {
470     simgrid::simix::marshal<double>(simcall->args[2], arg);
471 }
472 static inline double simcall_comm_isend__get__rate(smx_simcall_t simcall) {
473   return simgrid::simix::unmarshal<double>(simcall->args[3]);
474 }
475 static inline void simcall_comm_isend__set__rate(smx_simcall_t simcall, double arg) {
476     simgrid::simix::marshal<double>(simcall->args[3], arg);
477 }
478 static inline void* simcall_comm_isend__get__src_buff(smx_simcall_t simcall) {
479   return simgrid::simix::unmarshal<void*>(simcall->args[4]);
480 }
481 static inline void simcall_comm_isend__set__src_buff(smx_simcall_t simcall, void* arg) {
482     simgrid::simix::marshal<void*>(simcall->args[4], arg);
483 }
484 static inline size_t simcall_comm_isend__get__src_buff_size(smx_simcall_t simcall) {
485   return simgrid::simix::unmarshal<size_t>(simcall->args[5]);
486 }
487 static inline void simcall_comm_isend__set__src_buff_size(smx_simcall_t simcall, size_t arg) {
488     simgrid::simix::marshal<size_t>(simcall->args[5], arg);
489 }
490 static inline simix_match_func_t simcall_comm_isend__get__match_fun(smx_simcall_t simcall) {
491   return simgrid::simix::unmarshal<simix_match_func_t>(simcall->args[6]);
492 }
493 static inline void simcall_comm_isend__set__match_fun(smx_simcall_t simcall, simix_match_func_t arg) {
494     simgrid::simix::marshal<simix_match_func_t>(simcall->args[6], arg);
495 }
496 static inline simix_clean_func_t simcall_comm_isend__get__clean_fun(smx_simcall_t simcall) {
497   return simgrid::simix::unmarshal<simix_clean_func_t>(simcall->args[7]);
498 }
499 static inline void simcall_comm_isend__set__clean_fun(smx_simcall_t simcall, simix_clean_func_t arg) {
500     simgrid::simix::marshal<simix_clean_func_t>(simcall->args[7], arg);
501 }
502 static inline simix_copy_data_func_t simcall_comm_isend__get__copy_data_fun(smx_simcall_t simcall) {
503   return simgrid::simix::unmarshal<simix_copy_data_func_t>(simcall->args[8]);
504 }
505 static inline void simcall_comm_isend__set__copy_data_fun(smx_simcall_t simcall, simix_copy_data_func_t arg) {
506     simgrid::simix::marshal<simix_copy_data_func_t>(simcall->args[8], arg);
507 }
508 static inline void* simcall_comm_isend__get__data(smx_simcall_t simcall) {
509   return simgrid::simix::unmarshal<void*>(simcall->args[9]);
510 }
511 static inline void simcall_comm_isend__set__data(smx_simcall_t simcall, void* arg) {
512     simgrid::simix::marshal<void*>(simcall->args[9], arg);
513 }
514 static inline int simcall_comm_isend__get__detached(smx_simcall_t simcall) {
515   return simgrid::simix::unmarshal<int>(simcall->args[10]);
516 }
517 static inline void simcall_comm_isend__set__detached(smx_simcall_t simcall, int arg) {
518     simgrid::simix::marshal<int>(simcall->args[10], arg);
519 }
520 static inline smx_activity_t simcall_comm_isend__get__result(smx_simcall_t simcall){
521     return simgrid::simix::unmarshal<smx_activity_t>(simcall->result);
522 }
523 static inline void simcall_comm_isend__set__result(smx_simcall_t simcall, smx_activity_t result){
524     simgrid::simix::marshal<smx_activity_t>(simcall->result, result);
525 }
526
527 static inline smx_actor_t simcall_comm_recv__get__receiver(smx_simcall_t simcall) {
528   return simgrid::simix::unmarshal<smx_actor_t>(simcall->args[0]);
529 }
530 static inline void simcall_comm_recv__set__receiver(smx_simcall_t simcall, smx_actor_t arg) {
531     simgrid::simix::marshal<smx_actor_t>(simcall->args[0], arg);
532 }
533 static inline smx_mailbox_t simcall_comm_recv__get__mbox(smx_simcall_t simcall) {
534   return simgrid::simix::unmarshal<smx_mailbox_t>(simcall->args[1]);
535 }
536 static inline void simcall_comm_recv__set__mbox(smx_simcall_t simcall, smx_mailbox_t arg) {
537     simgrid::simix::marshal<smx_mailbox_t>(simcall->args[1], arg);
538 }
539 static inline void* simcall_comm_recv__get__dst_buff(smx_simcall_t simcall) {
540   return simgrid::simix::unmarshal<void*>(simcall->args[2]);
541 }
542 static inline void simcall_comm_recv__set__dst_buff(smx_simcall_t simcall, void* arg) {
543     simgrid::simix::marshal<void*>(simcall->args[2], arg);
544 }
545 static inline size_t* simcall_comm_recv__get__dst_buff_size(smx_simcall_t simcall) {
546   return simgrid::simix::unmarshal<size_t*>(simcall->args[3]);
547 }
548 static inline void simcall_comm_recv__set__dst_buff_size(smx_simcall_t simcall, size_t* arg) {
549     simgrid::simix::marshal<size_t*>(simcall->args[3], arg);
550 }
551 static inline simix_match_func_t simcall_comm_recv__get__match_fun(smx_simcall_t simcall) {
552   return simgrid::simix::unmarshal<simix_match_func_t>(simcall->args[4]);
553 }
554 static inline void simcall_comm_recv__set__match_fun(smx_simcall_t simcall, simix_match_func_t arg) {
555     simgrid::simix::marshal<simix_match_func_t>(simcall->args[4], arg);
556 }
557 static inline simix_copy_data_func_t simcall_comm_recv__get__copy_data_fun(smx_simcall_t simcall) {
558   return simgrid::simix::unmarshal<simix_copy_data_func_t>(simcall->args[5]);
559 }
560 static inline void simcall_comm_recv__set__copy_data_fun(smx_simcall_t simcall, simix_copy_data_func_t arg) {
561     simgrid::simix::marshal<simix_copy_data_func_t>(simcall->args[5], arg);
562 }
563 static inline void* simcall_comm_recv__get__data(smx_simcall_t simcall) {
564   return simgrid::simix::unmarshal<void*>(simcall->args[6]);
565 }
566 static inline void simcall_comm_recv__set__data(smx_simcall_t simcall, void* arg) {
567     simgrid::simix::marshal<void*>(simcall->args[6], arg);
568 }
569 static inline double simcall_comm_recv__get__timeout(smx_simcall_t simcall) {
570   return simgrid::simix::unmarshal<double>(simcall->args[7]);
571 }
572 static inline void simcall_comm_recv__set__timeout(smx_simcall_t simcall, double arg) {
573     simgrid::simix::marshal<double>(simcall->args[7], arg);
574 }
575 static inline double simcall_comm_recv__get__rate(smx_simcall_t simcall) {
576   return simgrid::simix::unmarshal<double>(simcall->args[8]);
577 }
578 static inline void simcall_comm_recv__set__rate(smx_simcall_t simcall, double arg) {
579     simgrid::simix::marshal<double>(simcall->args[8], arg);
580 }
581
582 static inline smx_actor_t simcall_comm_irecv__get__receiver(smx_simcall_t simcall) {
583   return simgrid::simix::unmarshal<smx_actor_t>(simcall->args[0]);
584 }
585 static inline void simcall_comm_irecv__set__receiver(smx_simcall_t simcall, smx_actor_t arg) {
586     simgrid::simix::marshal<smx_actor_t>(simcall->args[0], arg);
587 }
588 static inline smx_mailbox_t simcall_comm_irecv__get__mbox(smx_simcall_t simcall) {
589   return simgrid::simix::unmarshal<smx_mailbox_t>(simcall->args[1]);
590 }
591 static inline void simcall_comm_irecv__set__mbox(smx_simcall_t simcall, smx_mailbox_t arg) {
592     simgrid::simix::marshal<smx_mailbox_t>(simcall->args[1], arg);
593 }
594 static inline void* simcall_comm_irecv__get__dst_buff(smx_simcall_t simcall) {
595   return simgrid::simix::unmarshal<void*>(simcall->args[2]);
596 }
597 static inline void simcall_comm_irecv__set__dst_buff(smx_simcall_t simcall, void* arg) {
598     simgrid::simix::marshal<void*>(simcall->args[2], arg);
599 }
600 static inline size_t* simcall_comm_irecv__get__dst_buff_size(smx_simcall_t simcall) {
601   return simgrid::simix::unmarshal<size_t*>(simcall->args[3]);
602 }
603 static inline void simcall_comm_irecv__set__dst_buff_size(smx_simcall_t simcall, size_t* arg) {
604     simgrid::simix::marshal<size_t*>(simcall->args[3], arg);
605 }
606 static inline simix_match_func_t simcall_comm_irecv__get__match_fun(smx_simcall_t simcall) {
607   return simgrid::simix::unmarshal<simix_match_func_t>(simcall->args[4]);
608 }
609 static inline void simcall_comm_irecv__set__match_fun(smx_simcall_t simcall, simix_match_func_t arg) {
610     simgrid::simix::marshal<simix_match_func_t>(simcall->args[4], arg);
611 }
612 static inline simix_copy_data_func_t simcall_comm_irecv__get__copy_data_fun(smx_simcall_t simcall) {
613   return simgrid::simix::unmarshal<simix_copy_data_func_t>(simcall->args[5]);
614 }
615 static inline void simcall_comm_irecv__set__copy_data_fun(smx_simcall_t simcall, simix_copy_data_func_t arg) {
616     simgrid::simix::marshal<simix_copy_data_func_t>(simcall->args[5], arg);
617 }
618 static inline void* simcall_comm_irecv__get__data(smx_simcall_t simcall) {
619   return simgrid::simix::unmarshal<void*>(simcall->args[6]);
620 }
621 static inline void simcall_comm_irecv__set__data(smx_simcall_t simcall, void* arg) {
622     simgrid::simix::marshal<void*>(simcall->args[6], arg);
623 }
624 static inline double simcall_comm_irecv__get__rate(smx_simcall_t simcall) {
625   return simgrid::simix::unmarshal<double>(simcall->args[7]);
626 }
627 static inline void simcall_comm_irecv__set__rate(smx_simcall_t simcall, double arg) {
628     simgrid::simix::marshal<double>(simcall->args[7], arg);
629 }
630 static inline smx_activity_t simcall_comm_irecv__get__result(smx_simcall_t simcall){
631     return simgrid::simix::unmarshal<smx_activity_t>(simcall->result);
632 }
633 static inline void simcall_comm_irecv__set__result(smx_simcall_t simcall, smx_activity_t result){
634     simgrid::simix::marshal<smx_activity_t>(simcall->result, result);
635 }
636
637 static inline xbt_dynar_t simcall_comm_waitany__get__comms(smx_simcall_t simcall) {
638   return simgrid::simix::unmarshal<xbt_dynar_t>(simcall->args[0]);
639 }
640 static inline void simcall_comm_waitany__set__comms(smx_simcall_t simcall, xbt_dynar_t arg) {
641     simgrid::simix::marshal<xbt_dynar_t>(simcall->args[0], arg);
642 }
643 static inline double simcall_comm_waitany__get__timeout(smx_simcall_t simcall) {
644   return simgrid::simix::unmarshal<double>(simcall->args[1]);
645 }
646 static inline void simcall_comm_waitany__set__timeout(smx_simcall_t simcall, double arg) {
647     simgrid::simix::marshal<double>(simcall->args[1], arg);
648 }
649 static inline int simcall_comm_waitany__get__result(smx_simcall_t simcall){
650     return simgrid::simix::unmarshal<int>(simcall->result);
651 }
652 static inline void simcall_comm_waitany__set__result(smx_simcall_t simcall, int result){
653     simgrid::simix::marshal<int>(simcall->result, result);
654 }
655
656 static inline smx_activity_t simcall_comm_wait__get__comm(smx_simcall_t simcall) {
657   return simgrid::simix::unmarshal<smx_activity_t>(simcall->args[0]);
658 }
659 static inline void simcall_comm_wait__set__comm(smx_simcall_t simcall, smx_activity_t arg) {
660     simgrid::simix::marshal<smx_activity_t>(simcall->args[0], arg);
661 }
662 static inline double simcall_comm_wait__get__timeout(smx_simcall_t simcall) {
663   return simgrid::simix::unmarshal<double>(simcall->args[1]);
664 }
665 static inline void simcall_comm_wait__set__timeout(smx_simcall_t simcall, double arg) {
666     simgrid::simix::marshal<double>(simcall->args[1], arg);
667 }
668
669 static inline smx_activity_t simcall_comm_test__get__comm(smx_simcall_t simcall) {
670   return simgrid::simix::unmarshal<smx_activity_t>(simcall->args[0]);
671 }
672 static inline void simcall_comm_test__set__comm(smx_simcall_t simcall, smx_activity_t arg) {
673     simgrid::simix::marshal<smx_activity_t>(simcall->args[0], arg);
674 }
675 static inline int simcall_comm_test__get__result(smx_simcall_t simcall){
676     return simgrid::simix::unmarshal<int>(simcall->result);
677 }
678 static inline void simcall_comm_test__set__result(smx_simcall_t simcall, int result){
679     simgrid::simix::marshal<int>(simcall->result, result);
680 }
681
682 static inline smx_activity_t* simcall_comm_testany__get__comms(smx_simcall_t simcall) {
683   return simgrid::simix::unmarshal<smx_activity_t*>(simcall->args[0]);
684 }
685 static inline void simcall_comm_testany__set__comms(smx_simcall_t simcall, smx_activity_t* arg) {
686     simgrid::simix::marshal<smx_activity_t*>(simcall->args[0], arg);
687 }
688 static inline size_t simcall_comm_testany__get__count(smx_simcall_t simcall) {
689   return simgrid::simix::unmarshal<size_t>(simcall->args[1]);
690 }
691 static inline void simcall_comm_testany__set__count(smx_simcall_t simcall, size_t arg) {
692     simgrid::simix::marshal<size_t>(simcall->args[1], arg);
693 }
694 static inline int simcall_comm_testany__get__result(smx_simcall_t simcall){
695     return simgrid::simix::unmarshal<int>(simcall->result);
696 }
697 static inline void simcall_comm_testany__set__result(smx_simcall_t simcall, int result){
698     simgrid::simix::marshal<int>(simcall->result, result);
699 }
700
701 static inline smx_mutex_t simcall_mutex_init__get__result(smx_simcall_t simcall){
702     return simgrid::simix::unmarshal<smx_mutex_t>(simcall->result);
703 }
704 static inline void simcall_mutex_init__set__result(smx_simcall_t simcall, smx_mutex_t result){
705     simgrid::simix::marshal<smx_mutex_t>(simcall->result, result);
706 }
707
708 static inline smx_mutex_t simcall_mutex_lock__get__mutex(smx_simcall_t simcall) {
709   return simgrid::simix::unmarshal<smx_mutex_t>(simcall->args[0]);
710 }
711 static inline void simcall_mutex_lock__set__mutex(smx_simcall_t simcall, smx_mutex_t arg) {
712     simgrid::simix::marshal<smx_mutex_t>(simcall->args[0], arg);
713 }
714
715 static inline smx_mutex_t simcall_mutex_trylock__get__mutex(smx_simcall_t simcall) {
716   return simgrid::simix::unmarshal<smx_mutex_t>(simcall->args[0]);
717 }
718 static inline void simcall_mutex_trylock__set__mutex(smx_simcall_t simcall, smx_mutex_t arg) {
719     simgrid::simix::marshal<smx_mutex_t>(simcall->args[0], arg);
720 }
721 static inline int simcall_mutex_trylock__get__result(smx_simcall_t simcall){
722     return simgrid::simix::unmarshal<int>(simcall->result);
723 }
724 static inline void simcall_mutex_trylock__set__result(smx_simcall_t simcall, int result){
725     simgrid::simix::marshal<int>(simcall->result, result);
726 }
727
728 static inline smx_mutex_t simcall_mutex_unlock__get__mutex(smx_simcall_t simcall) {
729   return simgrid::simix::unmarshal<smx_mutex_t>(simcall->args[0]);
730 }
731 static inline void simcall_mutex_unlock__set__mutex(smx_simcall_t simcall, smx_mutex_t arg) {
732     simgrid::simix::marshal<smx_mutex_t>(simcall->args[0], arg);
733 }
734
735 static inline smx_cond_t simcall_cond_init__get__result(smx_simcall_t simcall){
736     return simgrid::simix::unmarshal<smx_cond_t>(simcall->result);
737 }
738 static inline void simcall_cond_init__set__result(smx_simcall_t simcall, smx_cond_t result){
739     simgrid::simix::marshal<smx_cond_t>(simcall->result, result);
740 }
741
742 static inline smx_cond_t simcall_cond_signal__get__cond(smx_simcall_t simcall) {
743   return simgrid::simix::unmarshal<smx_cond_t>(simcall->args[0]);
744 }
745 static inline void simcall_cond_signal__set__cond(smx_simcall_t simcall, smx_cond_t arg) {
746     simgrid::simix::marshal<smx_cond_t>(simcall->args[0], arg);
747 }
748
749 static inline smx_cond_t simcall_cond_wait__get__cond(smx_simcall_t simcall) {
750   return simgrid::simix::unmarshal<smx_cond_t>(simcall->args[0]);
751 }
752 static inline void simcall_cond_wait__set__cond(smx_simcall_t simcall, smx_cond_t arg) {
753     simgrid::simix::marshal<smx_cond_t>(simcall->args[0], arg);
754 }
755 static inline smx_mutex_t simcall_cond_wait__get__mutex(smx_simcall_t simcall) {
756   return simgrid::simix::unmarshal<smx_mutex_t>(simcall->args[1]);
757 }
758 static inline void simcall_cond_wait__set__mutex(smx_simcall_t simcall, smx_mutex_t arg) {
759     simgrid::simix::marshal<smx_mutex_t>(simcall->args[1], arg);
760 }
761
762 static inline smx_cond_t simcall_cond_wait_timeout__get__cond(smx_simcall_t simcall) {
763   return simgrid::simix::unmarshal<smx_cond_t>(simcall->args[0]);
764 }
765 static inline void simcall_cond_wait_timeout__set__cond(smx_simcall_t simcall, smx_cond_t arg) {
766     simgrid::simix::marshal<smx_cond_t>(simcall->args[0], arg);
767 }
768 static inline smx_mutex_t simcall_cond_wait_timeout__get__mutex(smx_simcall_t simcall) {
769   return simgrid::simix::unmarshal<smx_mutex_t>(simcall->args[1]);
770 }
771 static inline void simcall_cond_wait_timeout__set__mutex(smx_simcall_t simcall, smx_mutex_t arg) {
772     simgrid::simix::marshal<smx_mutex_t>(simcall->args[1], arg);
773 }
774 static inline double simcall_cond_wait_timeout__get__timeout(smx_simcall_t simcall) {
775   return simgrid::simix::unmarshal<double>(simcall->args[2]);
776 }
777 static inline void simcall_cond_wait_timeout__set__timeout(smx_simcall_t simcall, double arg) {
778     simgrid::simix::marshal<double>(simcall->args[2], arg);
779 }
780
781 static inline smx_cond_t simcall_cond_broadcast__get__cond(smx_simcall_t simcall) {
782   return simgrid::simix::unmarshal<smx_cond_t>(simcall->args[0]);
783 }
784 static inline void simcall_cond_broadcast__set__cond(smx_simcall_t simcall, smx_cond_t arg) {
785     simgrid::simix::marshal<smx_cond_t>(simcall->args[0], arg);
786 }
787
788 static inline unsigned int simcall_sem_init__get__capacity(smx_simcall_t simcall) {
789   return simgrid::simix::unmarshal<unsigned int>(simcall->args[0]);
790 }
791 static inline void simcall_sem_init__set__capacity(smx_simcall_t simcall, unsigned int arg) {
792     simgrid::simix::marshal<unsigned int>(simcall->args[0], arg);
793 }
794 static inline smx_sem_t simcall_sem_init__get__result(smx_simcall_t simcall){
795     return simgrid::simix::unmarshal<smx_sem_t>(simcall->result);
796 }
797 static inline void simcall_sem_init__set__result(smx_simcall_t simcall, smx_sem_t result){
798     simgrid::simix::marshal<smx_sem_t>(simcall->result, result);
799 }
800
801 static inline smx_sem_t simcall_sem_release__get__sem(smx_simcall_t simcall) {
802   return simgrid::simix::unmarshal<smx_sem_t>(simcall->args[0]);
803 }
804 static inline void simcall_sem_release__set__sem(smx_simcall_t simcall, smx_sem_t arg) {
805     simgrid::simix::marshal<smx_sem_t>(simcall->args[0], arg);
806 }
807
808 static inline smx_sem_t simcall_sem_would_block__get__sem(smx_simcall_t simcall) {
809   return simgrid::simix::unmarshal<smx_sem_t>(simcall->args[0]);
810 }
811 static inline void simcall_sem_would_block__set__sem(smx_simcall_t simcall, smx_sem_t arg) {
812     simgrid::simix::marshal<smx_sem_t>(simcall->args[0], arg);
813 }
814 static inline int simcall_sem_would_block__get__result(smx_simcall_t simcall){
815     return simgrid::simix::unmarshal<int>(simcall->result);
816 }
817 static inline void simcall_sem_would_block__set__result(smx_simcall_t simcall, int result){
818     simgrid::simix::marshal<int>(simcall->result, result);
819 }
820
821 static inline smx_sem_t simcall_sem_acquire__get__sem(smx_simcall_t simcall) {
822   return simgrid::simix::unmarshal<smx_sem_t>(simcall->args[0]);
823 }
824 static inline void simcall_sem_acquire__set__sem(smx_simcall_t simcall, smx_sem_t arg) {
825     simgrid::simix::marshal<smx_sem_t>(simcall->args[0], arg);
826 }
827
828 static inline smx_sem_t simcall_sem_acquire_timeout__get__sem(smx_simcall_t simcall) {
829   return simgrid::simix::unmarshal<smx_sem_t>(simcall->args[0]);
830 }
831 static inline void simcall_sem_acquire_timeout__set__sem(smx_simcall_t simcall, smx_sem_t arg) {
832     simgrid::simix::marshal<smx_sem_t>(simcall->args[0], arg);
833 }
834 static inline double simcall_sem_acquire_timeout__get__timeout(smx_simcall_t simcall) {
835   return simgrid::simix::unmarshal<double>(simcall->args[1]);
836 }
837 static inline void simcall_sem_acquire_timeout__set__timeout(smx_simcall_t simcall, double arg) {
838     simgrid::simix::marshal<double>(simcall->args[1], arg);
839 }
840
841 static inline smx_sem_t simcall_sem_get_capacity__get__sem(smx_simcall_t simcall) {
842   return simgrid::simix::unmarshal<smx_sem_t>(simcall->args[0]);
843 }
844 static inline void simcall_sem_get_capacity__set__sem(smx_simcall_t simcall, smx_sem_t arg) {
845     simgrid::simix::marshal<smx_sem_t>(simcall->args[0], arg);
846 }
847 static inline int simcall_sem_get_capacity__get__result(smx_simcall_t simcall){
848     return simgrid::simix::unmarshal<int>(simcall->result);
849 }
850 static inline void simcall_sem_get_capacity__set__result(smx_simcall_t simcall, int result){
851     simgrid::simix::marshal<int>(simcall->result, result);
852 }
853
854 static inline smx_file_t simcall_file_read__get__fd(smx_simcall_t simcall) {
855   return simgrid::simix::unmarshal<smx_file_t>(simcall->args[0]);
856 }
857 static inline void simcall_file_read__set__fd(smx_simcall_t simcall, smx_file_t arg) {
858     simgrid::simix::marshal<smx_file_t>(simcall->args[0], arg);
859 }
860 static inline sg_size_t simcall_file_read__get__size(smx_simcall_t simcall) {
861   return simgrid::simix::unmarshal<sg_size_t>(simcall->args[1]);
862 }
863 static inline void simcall_file_read__set__size(smx_simcall_t simcall, sg_size_t arg) {
864     simgrid::simix::marshal<sg_size_t>(simcall->args[1], arg);
865 }
866 static inline sg_host_t simcall_file_read__get__host(smx_simcall_t simcall) {
867   return simgrid::simix::unmarshal<sg_host_t>(simcall->args[2]);
868 }
869 static inline void simcall_file_read__set__host(smx_simcall_t simcall, sg_host_t arg) {
870     simgrid::simix::marshal<sg_host_t>(simcall->args[2], arg);
871 }
872 static inline sg_size_t simcall_file_read__get__result(smx_simcall_t simcall){
873     return simgrid::simix::unmarshal<sg_size_t>(simcall->result);
874 }
875 static inline void simcall_file_read__set__result(smx_simcall_t simcall, sg_size_t result){
876     simgrid::simix::marshal<sg_size_t>(simcall->result, result);
877 }
878
879 static inline smx_file_t simcall_file_write__get__fd(smx_simcall_t simcall) {
880   return simgrid::simix::unmarshal<smx_file_t>(simcall->args[0]);
881 }
882 static inline void simcall_file_write__set__fd(smx_simcall_t simcall, smx_file_t arg) {
883     simgrid::simix::marshal<smx_file_t>(simcall->args[0], arg);
884 }
885 static inline sg_size_t simcall_file_write__get__size(smx_simcall_t simcall) {
886   return simgrid::simix::unmarshal<sg_size_t>(simcall->args[1]);
887 }
888 static inline void simcall_file_write__set__size(smx_simcall_t simcall, sg_size_t arg) {
889     simgrid::simix::marshal<sg_size_t>(simcall->args[1], arg);
890 }
891 static inline sg_host_t simcall_file_write__get__host(smx_simcall_t simcall) {
892   return simgrid::simix::unmarshal<sg_host_t>(simcall->args[2]);
893 }
894 static inline void simcall_file_write__set__host(smx_simcall_t simcall, sg_host_t arg) {
895     simgrid::simix::marshal<sg_host_t>(simcall->args[2], arg);
896 }
897 static inline sg_size_t simcall_file_write__get__result(smx_simcall_t simcall){
898     return simgrid::simix::unmarshal<sg_size_t>(simcall->result);
899 }
900 static inline void simcall_file_write__set__result(smx_simcall_t simcall, sg_size_t result){
901     simgrid::simix::marshal<sg_size_t>(simcall->result, result);
902 }
903
904 static inline const char* simcall_file_open__get__fullpath(smx_simcall_t simcall) {
905   return simgrid::simix::unmarshal<const char*>(simcall->args[0]);
906 }
907 static inline void simcall_file_open__set__fullpath(smx_simcall_t simcall, const char* arg) {
908     simgrid::simix::marshal<const char*>(simcall->args[0], arg);
909 }
910 static inline sg_host_t simcall_file_open__get__host(smx_simcall_t simcall) {
911   return simgrid::simix::unmarshal<sg_host_t>(simcall->args[1]);
912 }
913 static inline void simcall_file_open__set__host(smx_simcall_t simcall, sg_host_t arg) {
914     simgrid::simix::marshal<sg_host_t>(simcall->args[1], arg);
915 }
916 static inline smx_file_t simcall_file_open__get__result(smx_simcall_t simcall){
917     return simgrid::simix::unmarshal<smx_file_t>(simcall->result);
918 }
919 static inline void simcall_file_open__set__result(smx_simcall_t simcall, smx_file_t result){
920     simgrid::simix::marshal<smx_file_t>(simcall->result, result);
921 }
922
923 static inline smx_file_t simcall_file_close__get__fd(smx_simcall_t simcall) {
924   return simgrid::simix::unmarshal<smx_file_t>(simcall->args[0]);
925 }
926 static inline void simcall_file_close__set__fd(smx_simcall_t simcall, smx_file_t arg) {
927     simgrid::simix::marshal<smx_file_t>(simcall->args[0], arg);
928 }
929 static inline sg_host_t simcall_file_close__get__host(smx_simcall_t simcall) {
930   return simgrid::simix::unmarshal<sg_host_t>(simcall->args[1]);
931 }
932 static inline void simcall_file_close__set__host(smx_simcall_t simcall, sg_host_t arg) {
933     simgrid::simix::marshal<sg_host_t>(simcall->args[1], arg);
934 }
935 static inline int simcall_file_close__get__result(smx_simcall_t simcall){
936     return simgrid::simix::unmarshal<int>(simcall->result);
937 }
938 static inline void simcall_file_close__set__result(smx_simcall_t simcall, int result){
939     simgrid::simix::marshal<int>(simcall->result, result);
940 }
941
942 static inline smx_file_t simcall_file_unlink__get__fd(smx_simcall_t simcall) {
943   return simgrid::simix::unmarshal<smx_file_t>(simcall->args[0]);
944 }
945 static inline void simcall_file_unlink__set__fd(smx_simcall_t simcall, smx_file_t arg) {
946     simgrid::simix::marshal<smx_file_t>(simcall->args[0], arg);
947 }
948 static inline sg_host_t simcall_file_unlink__get__host(smx_simcall_t simcall) {
949   return simgrid::simix::unmarshal<sg_host_t>(simcall->args[1]);
950 }
951 static inline void simcall_file_unlink__set__host(smx_simcall_t simcall, sg_host_t arg) {
952     simgrid::simix::marshal<sg_host_t>(simcall->args[1], arg);
953 }
954 static inline int simcall_file_unlink__get__result(smx_simcall_t simcall){
955     return simgrid::simix::unmarshal<int>(simcall->result);
956 }
957 static inline void simcall_file_unlink__set__result(smx_simcall_t simcall, int result){
958     simgrid::simix::marshal<int>(simcall->result, result);
959 }
960
961 static inline smx_file_t simcall_file_get_size__get__fd(smx_simcall_t simcall) {
962   return simgrid::simix::unmarshal<smx_file_t>(simcall->args[0]);
963 }
964 static inline void simcall_file_get_size__set__fd(smx_simcall_t simcall, smx_file_t arg) {
965     simgrid::simix::marshal<smx_file_t>(simcall->args[0], arg);
966 }
967 static inline sg_size_t simcall_file_get_size__get__result(smx_simcall_t simcall){
968     return simgrid::simix::unmarshal<sg_size_t>(simcall->result);
969 }
970 static inline void simcall_file_get_size__set__result(smx_simcall_t simcall, sg_size_t result){
971     simgrid::simix::marshal<sg_size_t>(simcall->result, result);
972 }
973
974 static inline smx_file_t simcall_file_tell__get__fd(smx_simcall_t simcall) {
975   return simgrid::simix::unmarshal<smx_file_t>(simcall->args[0]);
976 }
977 static inline void simcall_file_tell__set__fd(smx_simcall_t simcall, smx_file_t arg) {
978     simgrid::simix::marshal<smx_file_t>(simcall->args[0], arg);
979 }
980 static inline sg_size_t simcall_file_tell__get__result(smx_simcall_t simcall){
981     return simgrid::simix::unmarshal<sg_size_t>(simcall->result);
982 }
983 static inline void simcall_file_tell__set__result(smx_simcall_t simcall, sg_size_t result){
984     simgrid::simix::marshal<sg_size_t>(simcall->result, result);
985 }
986
987 static inline smx_file_t simcall_file_seek__get__fd(smx_simcall_t simcall) {
988   return simgrid::simix::unmarshal<smx_file_t>(simcall->args[0]);
989 }
990 static inline void simcall_file_seek__set__fd(smx_simcall_t simcall, smx_file_t arg) {
991     simgrid::simix::marshal<smx_file_t>(simcall->args[0], arg);
992 }
993 static inline sg_offset_t simcall_file_seek__get__offset(smx_simcall_t simcall) {
994   return simgrid::simix::unmarshal<sg_offset_t>(simcall->args[1]);
995 }
996 static inline void simcall_file_seek__set__offset(smx_simcall_t simcall, sg_offset_t arg) {
997     simgrid::simix::marshal<sg_offset_t>(simcall->args[1], arg);
998 }
999 static inline int simcall_file_seek__get__origin(smx_simcall_t simcall) {
1000   return simgrid::simix::unmarshal<int>(simcall->args[2]);
1001 }
1002 static inline void simcall_file_seek__set__origin(smx_simcall_t simcall, int arg) {
1003     simgrid::simix::marshal<int>(simcall->args[2], arg);
1004 }
1005 static inline int simcall_file_seek__get__result(smx_simcall_t simcall){
1006     return simgrid::simix::unmarshal<int>(simcall->result);
1007 }
1008 static inline void simcall_file_seek__set__result(smx_simcall_t simcall, int result){
1009     simgrid::simix::marshal<int>(simcall->result, result);
1010 }
1011
1012 static inline smx_file_t simcall_file_get_info__get__fd(smx_simcall_t simcall) {
1013   return simgrid::simix::unmarshal<smx_file_t>(simcall->args[0]);
1014 }
1015 static inline void simcall_file_get_info__set__fd(smx_simcall_t simcall, smx_file_t arg) {
1016     simgrid::simix::marshal<smx_file_t>(simcall->args[0], arg);
1017 }
1018 static inline xbt_dynar_t simcall_file_get_info__get__result(smx_simcall_t simcall){
1019     return simgrid::simix::unmarshal<xbt_dynar_t>(simcall->result);
1020 }
1021 static inline void simcall_file_get_info__set__result(smx_simcall_t simcall, xbt_dynar_t result){
1022     simgrid::simix::marshal<xbt_dynar_t>(simcall->result, result);
1023 }
1024
1025 static inline smx_file_t simcall_file_move__get__fd(smx_simcall_t simcall) {
1026   return simgrid::simix::unmarshal<smx_file_t>(simcall->args[0]);
1027 }
1028 static inline void simcall_file_move__set__fd(smx_simcall_t simcall, smx_file_t arg) {
1029     simgrid::simix::marshal<smx_file_t>(simcall->args[0], arg);
1030 }
1031 static inline const char* simcall_file_move__get__fullpath(smx_simcall_t simcall) {
1032   return simgrid::simix::unmarshal<const char*>(simcall->args[1]);
1033 }
1034 static inline void simcall_file_move__set__fullpath(smx_simcall_t simcall, const char* arg) {
1035     simgrid::simix::marshal<const char*>(simcall->args[1], arg);
1036 }
1037 static inline int simcall_file_move__get__result(smx_simcall_t simcall){
1038     return simgrid::simix::unmarshal<int>(simcall->result);
1039 }
1040 static inline void simcall_file_move__set__result(smx_simcall_t simcall, int result){
1041     simgrid::simix::marshal<int>(simcall->result, result);
1042 }
1043
1044 static inline smx_storage_t simcall_storage_get_free_size__get__storage(smx_simcall_t simcall) {
1045   return simgrid::simix::unmarshal<smx_storage_t>(simcall->args[0]);
1046 }
1047 static inline void simcall_storage_get_free_size__set__storage(smx_simcall_t simcall, smx_storage_t arg) {
1048     simgrid::simix::marshal<smx_storage_t>(simcall->args[0], arg);
1049 }
1050 static inline sg_size_t simcall_storage_get_free_size__get__result(smx_simcall_t simcall){
1051     return simgrid::simix::unmarshal<sg_size_t>(simcall->result);
1052 }
1053 static inline void simcall_storage_get_free_size__set__result(smx_simcall_t simcall, sg_size_t result){
1054     simgrid::simix::marshal<sg_size_t>(simcall->result, result);
1055 }
1056
1057 static inline smx_storage_t simcall_storage_get_used_size__get__name(smx_simcall_t simcall) {
1058   return simgrid::simix::unmarshal<smx_storage_t>(simcall->args[0]);
1059 }
1060 static inline void simcall_storage_get_used_size__set__name(smx_simcall_t simcall, smx_storage_t arg) {
1061     simgrid::simix::marshal<smx_storage_t>(simcall->args[0], arg);
1062 }
1063 static inline sg_size_t simcall_storage_get_used_size__get__result(smx_simcall_t simcall){
1064     return simgrid::simix::unmarshal<sg_size_t>(simcall->result);
1065 }
1066 static inline void simcall_storage_get_used_size__set__result(smx_simcall_t simcall, sg_size_t result){
1067     simgrid::simix::marshal<sg_size_t>(simcall->result, result);
1068 }
1069
1070 static inline smx_storage_t simcall_storage_get_properties__get__storage(smx_simcall_t simcall) {
1071   return simgrid::simix::unmarshal<smx_storage_t>(simcall->args[0]);
1072 }
1073 static inline void simcall_storage_get_properties__set__storage(smx_simcall_t simcall, smx_storage_t arg) {
1074     simgrid::simix::marshal<smx_storage_t>(simcall->args[0], arg);
1075 }
1076 static inline xbt_dict_t simcall_storage_get_properties__get__result(smx_simcall_t simcall){
1077     return simgrid::simix::unmarshal<xbt_dict_t>(simcall->result);
1078 }
1079 static inline void simcall_storage_get_properties__set__result(smx_simcall_t simcall, xbt_dict_t result){
1080     simgrid::simix::marshal<xbt_dict_t>(simcall->result, result);
1081 }
1082
1083 static inline smx_storage_t simcall_storage_get_content__get__storage(smx_simcall_t simcall) {
1084   return simgrid::simix::unmarshal<smx_storage_t>(simcall->args[0]);
1085 }
1086 static inline void simcall_storage_get_content__set__storage(smx_simcall_t simcall, smx_storage_t arg) {
1087     simgrid::simix::marshal<smx_storage_t>(simcall->args[0], arg);
1088 }
1089 static inline xbt_dict_t simcall_storage_get_content__get__result(smx_simcall_t simcall){
1090     return simgrid::simix::unmarshal<xbt_dict_t>(simcall->result);
1091 }
1092 static inline void simcall_storage_get_content__set__result(smx_simcall_t simcall, xbt_dict_t result){
1093     simgrid::simix::marshal<xbt_dict_t>(simcall->result, result);
1094 }
1095
1096 static inline const char* simcall_asr_get_properties__get__name(smx_simcall_t simcall) {
1097   return simgrid::simix::unmarshal<const char*>(simcall->args[0]);
1098 }
1099 static inline void simcall_asr_get_properties__set__name(smx_simcall_t simcall, const char* arg) {
1100     simgrid::simix::marshal<const char*>(simcall->args[0], arg);
1101 }
1102 static inline xbt_dict_t simcall_asr_get_properties__get__result(smx_simcall_t simcall){
1103     return simgrid::simix::unmarshal<xbt_dict_t>(simcall->result);
1104 }
1105 static inline void simcall_asr_get_properties__set__result(smx_simcall_t simcall, xbt_dict_t result){
1106     simgrid::simix::marshal<xbt_dict_t>(simcall->result, result);
1107 }
1108
1109 static inline int simcall_mc_random__get__min(smx_simcall_t simcall) {
1110   return simgrid::simix::unmarshal<int>(simcall->args[0]);
1111 }
1112 static inline void simcall_mc_random__set__min(smx_simcall_t simcall, int arg) {
1113     simgrid::simix::marshal<int>(simcall->args[0], arg);
1114 }
1115 static inline int simcall_mc_random__get__max(smx_simcall_t simcall) {
1116   return simgrid::simix::unmarshal<int>(simcall->args[1]);
1117 }
1118 static inline void simcall_mc_random__set__max(smx_simcall_t simcall, int arg) {
1119     simgrid::simix::marshal<int>(simcall->args[1], arg);
1120 }
1121 static inline int simcall_mc_random__get__result(smx_simcall_t simcall){
1122     return simgrid::simix::unmarshal<int>(simcall->result);
1123 }
1124 static inline void simcall_mc_random__set__result(smx_simcall_t simcall, int result){
1125     simgrid::simix::marshal<int>(simcall->result, result);
1126 }
1127
1128 static inline smx_activity_t simcall_set_category__get__synchro(smx_simcall_t simcall) {
1129   return simgrid::simix::unmarshal<smx_activity_t>(simcall->args[0]);
1130 }
1131 static inline void simcall_set_category__set__synchro(smx_simcall_t simcall, smx_activity_t arg) {
1132     simgrid::simix::marshal<smx_activity_t>(simcall->args[0], arg);
1133 }
1134 static inline const char* simcall_set_category__get__category(smx_simcall_t simcall) {
1135   return simgrid::simix::unmarshal<const char*>(simcall->args[1]);
1136 }
1137 static inline void simcall_set_category__set__category(smx_simcall_t simcall, const char* arg) {
1138     simgrid::simix::marshal<const char*>(simcall->args[1], arg);
1139 }
1140
1141 static inline std::function<void()> const* simcall_run_kernel__get__code(smx_simcall_t simcall) {
1142   return simgrid::simix::unmarshal<std::function<void()> const*>(simcall->args[0]);
1143 }
1144 static inline void simcall_run_kernel__set__code(smx_simcall_t simcall, std::function<void()> const* arg) {
1145     simgrid::simix::marshal<std::function<void()> const*>(simcall->args[0], arg);
1146 }
1147
1148 static inline std::function<void()> const* simcall_run_blocking__get__code(smx_simcall_t simcall) {
1149   return simgrid::simix::unmarshal<std::function<void()> const*>(simcall->args[0]);
1150 }
1151 static inline void simcall_run_blocking__set__code(smx_simcall_t simcall, std::function<void()> const* arg) {
1152     simgrid::simix::marshal<std::function<void()> const*>(simcall->args[0], arg);
1153 }
1154
1155 /* The prototype of all simcall handlers, automatically generated for you */
1156
1157 XBT_PRIVATE void simcall_HANDLER_vm_suspend(smx_simcall_t simcall, sg_host_t ind_vm);
1158 XBT_PRIVATE void simcall_HANDLER_vm_resume(smx_simcall_t simcall, sg_host_t ind_vm);
1159 XBT_PRIVATE void simcall_HANDLER_vm_shutdown(smx_simcall_t simcall, sg_host_t ind_vm);
1160 XBT_PRIVATE void simcall_HANDLER_vm_save(smx_simcall_t simcall, sg_host_t ind_vm);
1161 XBT_PRIVATE void simcall_HANDLER_vm_restore(smx_simcall_t simcall, sg_host_t ind_vm);
1162 XBT_PRIVATE void simcall_HANDLER_process_kill(smx_simcall_t simcall, smx_actor_t process);
1163 XBT_PRIVATE void simcall_HANDLER_process_killall(smx_simcall_t simcall, int reset_pid);
1164 XBT_PRIVATE void simcall_HANDLER_process_suspend(smx_simcall_t simcall, smx_actor_t process);
1165 XBT_PRIVATE void simcall_HANDLER_process_resume(smx_simcall_t simcall, smx_actor_t process);
1166 XBT_PRIVATE void simcall_HANDLER_process_set_host(smx_simcall_t simcall, smx_actor_t process, sg_host_t dest);
1167 XBT_PRIVATE void simcall_HANDLER_process_join(smx_simcall_t simcall, smx_actor_t process, double timeout);
1168 XBT_PRIVATE void simcall_HANDLER_process_sleep(smx_simcall_t simcall, double duration);
1169 XBT_PRIVATE smx_activity_t simcall_HANDLER_execution_start(smx_simcall_t simcall, const char* name, double flops_amount, double priority, double bound);
1170 XBT_PRIVATE void simcall_HANDLER_execution_wait(smx_simcall_t simcall, smx_activity_t execution);
1171 XBT_PRIVATE smx_actor_t simcall_HANDLER_process_restart(smx_simcall_t simcall, smx_actor_t process);
1172 XBT_PRIVATE smx_activity_t simcall_HANDLER_comm_iprobe(smx_simcall_t simcall, smx_mailbox_t mbox, int type, int src, int tag, simix_match_func_t match_fun, void* data);
1173 XBT_PRIVATE void simcall_HANDLER_comm_send(smx_simcall_t simcall, smx_actor_t sender, smx_mailbox_t mbox, double task_size, double rate, void* src_buff, size_t src_buff_size, simix_match_func_t match_fun, simix_copy_data_func_t copy_data_fun, void* data, double timeout);
1174 XBT_PRIVATE smx_activity_t simcall_HANDLER_comm_isend(smx_simcall_t simcall, smx_actor_t sender, smx_mailbox_t mbox, double task_size, double rate, void* src_buff, size_t src_buff_size, simix_match_func_t match_fun, simix_clean_func_t clean_fun, simix_copy_data_func_t copy_data_fun, void* data, int detached);
1175 XBT_PRIVATE void simcall_HANDLER_comm_recv(smx_simcall_t simcall, smx_actor_t receiver, smx_mailbox_t mbox, void* dst_buff, size_t* dst_buff_size, simix_match_func_t match_fun, simix_copy_data_func_t copy_data_fun, void* data, double timeout, double rate);
1176 XBT_PRIVATE smx_activity_t simcall_HANDLER_comm_irecv(smx_simcall_t simcall, smx_actor_t receiver, smx_mailbox_t mbox, void* dst_buff, size_t* dst_buff_size, simix_match_func_t match_fun, simix_copy_data_func_t copy_data_fun, void* data, double rate);
1177 XBT_PRIVATE void simcall_HANDLER_comm_waitany(smx_simcall_t simcall, xbt_dynar_t comms, double timeout);
1178 XBT_PRIVATE void simcall_HANDLER_comm_wait(smx_simcall_t simcall, smx_activity_t comm, double timeout);
1179 XBT_PRIVATE void simcall_HANDLER_comm_test(smx_simcall_t simcall, smx_activity_t comm);
1180 XBT_PRIVATE void simcall_HANDLER_comm_testany(smx_simcall_t simcall, smx_activity_t* comms, size_t count);
1181 XBT_PRIVATE smx_mutex_t simcall_HANDLER_mutex_init(smx_simcall_t simcall);
1182 XBT_PRIVATE void simcall_HANDLER_mutex_lock(smx_simcall_t simcall, smx_mutex_t mutex);
1183 XBT_PRIVATE int simcall_HANDLER_mutex_trylock(smx_simcall_t simcall, smx_mutex_t mutex);
1184 XBT_PRIVATE void simcall_HANDLER_mutex_unlock(smx_simcall_t simcall, smx_mutex_t mutex);
1185 XBT_PRIVATE void simcall_HANDLER_cond_wait(smx_simcall_t simcall, smx_cond_t cond, smx_mutex_t mutex);
1186 XBT_PRIVATE void simcall_HANDLER_cond_wait_timeout(smx_simcall_t simcall, smx_cond_t cond, smx_mutex_t mutex, double timeout);
1187 XBT_PRIVATE void simcall_HANDLER_sem_release(smx_simcall_t simcall, smx_sem_t sem);
1188 XBT_PRIVATE int simcall_HANDLER_sem_would_block(smx_simcall_t simcall, smx_sem_t sem);
1189 XBT_PRIVATE void simcall_HANDLER_sem_acquire(smx_simcall_t simcall, smx_sem_t sem);
1190 XBT_PRIVATE void simcall_HANDLER_sem_acquire_timeout(smx_simcall_t simcall, smx_sem_t sem, double timeout);
1191 XBT_PRIVATE int simcall_HANDLER_sem_get_capacity(smx_simcall_t simcall, smx_sem_t sem);
1192 XBT_PRIVATE void simcall_HANDLER_file_read(smx_simcall_t simcall, smx_file_t fd, sg_size_t size, sg_host_t host);
1193 XBT_PRIVATE void simcall_HANDLER_file_write(smx_simcall_t simcall, smx_file_t fd, sg_size_t size, sg_host_t host);
1194 XBT_PRIVATE void simcall_HANDLER_file_open(smx_simcall_t simcall, const char* fullpath, sg_host_t host);
1195 XBT_PRIVATE void simcall_HANDLER_file_close(smx_simcall_t simcall, smx_file_t fd, sg_host_t host);
1196 XBT_PRIVATE sg_size_t simcall_HANDLER_file_get_size(smx_simcall_t simcall, smx_file_t fd);
1197 XBT_PRIVATE sg_size_t simcall_HANDLER_file_tell(smx_simcall_t simcall, smx_file_t fd);
1198 XBT_PRIVATE int simcall_HANDLER_file_seek(smx_simcall_t simcall, smx_file_t fd, sg_offset_t offset, int origin);
1199 XBT_PRIVATE xbt_dynar_t simcall_HANDLER_file_get_info(smx_simcall_t simcall, smx_file_t fd);
1200 XBT_PRIVATE int simcall_HANDLER_file_move(smx_simcall_t simcall, smx_file_t fd, const char* fullpath);
1201 XBT_PRIVATE sg_size_t simcall_HANDLER_storage_get_free_size(smx_simcall_t simcall, smx_storage_t storage);
1202 XBT_PRIVATE sg_size_t simcall_HANDLER_storage_get_used_size(smx_simcall_t simcall, smx_storage_t name);
1203 XBT_PRIVATE xbt_dict_t simcall_HANDLER_asr_get_properties(smx_simcall_t simcall, const char* name);
1204 XBT_PRIVATE int simcall_HANDLER_mc_random(smx_simcall_t simcall, int min, int max);