Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
return NULL to avoid that the function returns an invalid pointer
[simgrid.git] / src / surf / cpu_private.h
index 3e6d427..d203c15 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;