Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Implement a generic resource; use it as ancestor to specific ones
[simgrid.git] / src / surf / surf_timer_private.h
index e2b76f4..eaa055c 100644 (file)
 #include "surf_private.h"
 #include "xbt/dict.h"
 
-/* typedef struct surf_action_timer_Cas01 { */
-/*   s_surf_action_t generic_action; */
-/*   lmm_variable_t variable; */
-/* } s_surf_action_timer_t, *surf_action_timer_t; */
-
 typedef struct command {
-  surf_model_t model;           /* Any such object, added in a trace
-                                   should start by this field!!! */
+  s_surf_resource_t generic_resource; /* Must remain first, since we add this to a trace */
   void *function;
   void *args;
   s_xbt_swag_hookup_t command_set_hookup;