X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/45fee8d511c94661b7155ef561c4a5381592b9fb..88a0557c4211e597c27016d0158ae3e8e780681b:/src/surf/cpu_private.h diff --git a/src/surf/cpu_private.h b/src/surf/cpu_private.h index 7f93e3029b..b81db850d5 100644 --- a/src/surf/cpu_private.h +++ b/src/surf/cpu_private.h @@ -14,12 +14,12 @@ 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_resource_t resource; /* Any such object, added in a trace - should start by this field!!! */ + surf_model_t model; /* Any such object, added in a trace + should start by this field!!! */ char *name; double power_scale; double power_current; @@ -27,8 +27,10 @@ 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 */ + 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 */