+ simcall_execution_wait(s);
+}
+
+void execute(double flops,double priority)
+{
+ smx_activity_t s = simcall_execution_start(nullptr,flops,1 / priority/*priority*/,0./*bound*/);
+ simcall_execution_wait(s);
+}
+
+void parallel_execute(int host_nb, sg_host_t* host_list, double* flops_amount, double* bytes_amount)
+{
+ smx_activity_t s = simcall_execution_parallel_start(nullptr, host_nb, host_list, flops_amount, bytes_amount, -1, -1);
+ simcall_execution_wait(s);
+}
+
+void* recv(MailboxPtr chan) // deprecated
+{
+ return chan->get();
+}
+
+void* recv(MailboxPtr chan, double timeout) // deprecated
+{
+ return chan->get(timeout);
+}
+
+void send(MailboxPtr chan, void* payload, double simulatedSize) // deprecated
+{
+ chan->put(payload, simulatedSize);
+}
+
+void send(MailboxPtr chan, void* payload, double simulatedSize, double timeout) // deprecated
+{
+ chan->put(payload, simulatedSize, timeout);