Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Group fields together. They will be soon refactored elsewhere.
[simgrid.git] / src / surf / network_private.h
index 68dfe46..0d1fc19 100644 (file)
@@ -28,12 +28,14 @@ enum heap_action_type{
 };
 
 typedef struct surf_action_network_CM02 {
-  s_surf_action_t generic_action;
+  s_surf_action_lmm_t generic_lmm_action;
   s_xbt_swag_hookup_t action_list_hookup;
+  int index_heap;
+  double last_update;
+  enum heap_action_type hat;
   double latency;
   double lat_current;
   double weight;
-  lmm_variable_t variable;
   double rate;
   struct {
      const char* link_name;
@@ -44,14 +46,10 @@ typedef struct surf_action_network_CM02 {
 #ifdef HAVE_LATENCY_BOUND_TRACKING
   int latency_limited;
 #endif
-  int suspended;
 #ifdef HAVE_TRACING
   char *src_name;
   char *dst_name;
 #endif
-  int index_heap;
-  enum heap_action_type hat;
-  double last_update;
 } s_surf_action_network_CM02_t, *surf_action_network_CM02_t;
 
 #endif                          /* _SURF_NETWORK_PRIVATE_H */