Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Ouups, forgot those two files, bummer
[simgrid.git] / src / surf / cpu_private.h
index b81db85..125ba40 100644 (file)
@@ -18,8 +18,7 @@ typedef struct surf_action_cpu_Cas01 {
 } s_surf_action_cpu_Cas01_t, *surf_action_cpu_Cas01_t;
 
 typedef struct cpu_Cas01 {
-  surf_model_t model;           /* Any such object, added in a trace
-                                   should start by this field!!! */
+  s_surf_resource_t generic_resource;
   char *name;
   double power_scale;
   double power_current;
@@ -31,6 +30,4 @@ typedef struct cpu_Cas01 {
   xbt_dict_t properties;
 } s_cpu_Cas01_t, *cpu_Cas01_t;
 
-extern xbt_dict_t cpu_set;
-
 #endif /* _SURF_CPU_PRIVATE_H */