Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
I think I now better understand the surf internals: each resource can be *either...
[simgrid.git] / src / surf / workstation.c
index f4cac36..4afd973 100644 (file)
@@ -254,7 +254,7 @@ static double get_available_speed(void *workstation)
 static xbt_dict_t get_properties(void *workstation)
 {
   return surf_cpu_model->common_public->
-      get_cpu_properties(((workstation_CLM03_t) workstation)->cpu);
+      get_properties(((workstation_CLM03_t) workstation)->cpu);
 }
 
 static surf_action_t execute_parallel_task(int workstation_nb,
@@ -391,7 +391,7 @@ static void surf_workstation_model_init_internal(void)
       get_available_speed;
 
   /*manage the properties of the workstation*/
-  surf_workstation_model->common_public->get_cpu_properties = get_properties;
+  surf_workstation_model->common_public->get_properties = get_properties;
 
   surf_workstation_model->extension_public->communicate = communicate;
   surf_workstation_model->extension_public->execute_parallel_task =