#define NO_MAX_DURATION -1.0
-typedef enum {
- UM_FULL,
- UM_LAZY,
- UM_UNDEFINED
-} e_UM_t;
-
/* user-visible parameters */
extern double sg_tcp_gamma;
extern double sg_sender_gap;
extern const char *surf_action_state_names[6];
+typedef enum {
+ UM_FULL,
+ UM_LAZY,
+ UM_UNDEFINED
+} e_UM_t;
+
typedef struct surf_model_private {
int (*resource_used) (void *resource_id);
/* Share the resources to the actions and return in how much time
void (*update_resource_state) (void *id, tmgr_trace_event_t event_type,
double value, double time);
void (*finalize) (void);
+
+ lmm_system_t maxmin_system;
+ e_UM_t update_mechanism;
+ xbt_swag_t modified_set;
+ xbt_heap_t action_heap;
+ int selective_update;
+
} s_surf_model_private_t;
double generic_maxmin_share_resources(xbt_swag_t running_actions,
const char *dst, route_t e_route);
} s_as_t;
-struct s_routing_global {
+struct s_routing_platf {
AS_t root;
void *loopback;
xbt_dynar_t last_route;