Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Ansi C declaration of the variables (at the beginning of the blocks)
[simgrid.git] / src / surf / cpu_private.h
index 3e6d427..63017a4 100644 (file)
 typedef struct surf_action_cpu_Cas01 {
   s_surf_action_t generic_action;
   lmm_variable_t variable;
+  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
+  surf_model_t model;  /* Any such object, added in a trace
                                   should start by this field!!! */
   char *name;
   double power_scale;
@@ -26,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;