mc_comm_pattern_t MC_comm_pattern_dup(mc_comm_pattern_t comm)
{
mc_comm_pattern_t res = xbt_new0(s_mc_comm_pattern_t, 1);
res->index = comm->index;
res->type = comm->type;
res->comm_addr = comm->comm_addr;
mc_comm_pattern_t MC_comm_pattern_dup(mc_comm_pattern_t comm)
{
mc_comm_pattern_t res = xbt_new0(s_mc_comm_pattern_t, 1);
res->index = comm->index;
res->type = comm->type;
res->comm_addr = comm->comm_addr;