X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/241f5458d9377dbfea5d9b333d5150cd79d89e03..c94898122fc054483e0e4b0313cd52f385582d2a:/src/surf/cpu_private.h diff --git a/src/surf/cpu_private.h b/src/surf/cpu_private.h index 63017a446d..125ba40111 100644 --- a/src/surf/cpu_private.h +++ b/src/surf/cpu_private.h @@ -14,12 +14,11 @@ typedef struct surf_action_cpu_Cas01 { s_surf_action_t generic_action; lmm_variable_t variable; - int suspended; + int suspended; } 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; @@ -27,10 +26,8 @@ typedef struct cpu_Cas01 { e_surf_cpu_state_t state_current; tmgr_trace_event_t state_event; lmm_constraint_t constraint; - /*Handles the properties that can be added to cpu's*/ + /*Handles the properties that can be added to cpu's */ xbt_dict_t properties; } s_cpu_Cas01_t, *cpu_Cas01_t; -extern xbt_dict_t cpu_set; - -#endif /* _SURF_CPU_PRIVATE_H */ +#endif /* _SURF_CPU_PRIVATE_H */