X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/45fee8d511c94661b7155ef561c4a5381592b9fb..cf56a22da60094d8e7f14b1457526dc194d40226:/src/surf/cpu_private.h diff --git a/src/surf/cpu_private.h b/src/surf/cpu_private.h index 7f93e3029b..63017a446d 100644 --- a/src/surf/cpu_private.h +++ b/src/surf/cpu_private.h @@ -18,7 +18,7 @@ typedef struct surf_action_cpu_Cas01 { } 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 + surf_model_t model; /* Any such object, added in a trace should start by this field!!! */ char *name; double power_scale; @@ -27,6 +27,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*/ + xbt_dict_t properties; } s_cpu_Cas01_t, *cpu_Cas01_t; extern xbt_dict_t cpu_set;