- computation_amount = calloc(slaves_count,sizeof(double));
- communication_amount = calloc(slaves_count*slaves_count,sizeof(double));
+ computation_amount = xbt_new0(double,slaves_count);
+ communication_amount = xbt_new0(double,slaves_count*slaves_count);