state_trace = tmgr_trace_new(state_tr);
else
state_trace = tmgr_trace_new("");
- current_property_set = xbt_dict_new();
+
surf_host_create_resource(xbt_strdup(id), power_peak, power_scale,
power_trace, core_nb, state_initial, state_trace,
current_property_set);
+ current_property_set = NULL;
+
}
/**
state_trace = tmgr_trace_new(state_tr);
else
state_trace = tmgr_trace_new("");
- current_property_set = xbt_dict_new();
+
surf_wsL07_host_create_resource(xbt_strdup(id), power_peak, power_scale,
power_trace, state_initial, state_trace,
current_property_set);
-
+ current_property_set = NULL;
}
/**