Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Rename power->speed in the inner layer of the parsing
[simgrid.git] / examples / msg / masterslave / masterslave_platfgen.c
index 7334207..06db03e 100644 (file)
@@ -28,11 +28,11 @@ void promoter_1(context_node_t node) {
   s_sg_platf_host_cbarg_t host_parameters;
 
   host_parameters.id = NULL;
-  host_parameters.power_peak = xbt_dynar_new(sizeof(double), NULL);
-  xbt_dynar_push_as(host_parameters.power_peak, double, 1000000.0);
+  host_parameters.speed_peak = xbt_dynar_new(sizeof(double), NULL);
+  xbt_dynar_push_as(host_parameters.speed_peak, double, 1000000.0);
   host_parameters.core_amount = 1;
-  host_parameters.power_scale = 1;
-  host_parameters.power_trace = NULL;
+  host_parameters.speed_scale = 1;
+  host_parameters.speed_trace = NULL;
   host_parameters.initial_state = SURF_RESOURCE_ON;
   host_parameters.state_trace = NULL;
   host_parameters.coord = NULL;