#ifndef METASIMGRID_PRIVATE_H
#define METASIMGRID_PRIVATE_H
-#include <stdio.h>
#include "msg/msg.h"
#include "simix/simix.h"
#include "surf/surf.h"
/* this structure represents a mailbox */
typedef struct s_msg_mailbox {
char *alias; /* the key of the mailbox in the global dictionary */
- xbt_fifo_t tasks; /* the list of the tasks in the mailbox */
smx_cond_t cond; /* the condition on the mailbox */
- char *hostname; /* the name of the host containing the mailbox */
smx_rdv_t rdv; /* SIMIX rendez-vous point */
} s_msg_mailbox_t;
typedef struct simdata_task {
smx_action_t compute; /* SURF modeling of computation */
- smx_action_t comm; /* SURF modeling of communication */
+ smx_comm_t comm; /* SIMIX communication */
double message_size; /* Data size */
double computation_amount; /* Computation size */
smx_cond_t cond;
m_host_t put_host; /* used for debugging purposes */
m_channel_t put_channel; /* used for debugging purposes */
smx_action_t waiting_action;
+ m_task_t waiting_task;
int argc; /* arguments number if any */
char **argv; /* arguments table if any */
MSG_error_t last_errno; /* the last value returned by a MSG_function */