X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2f2b80e3cf853fb588fec955dc36dfe8312847e1..2489210b4ea8d03fbece8db288ef9e3ff6725723:/include/simgrid/platf.h diff --git a/include/simgrid/platf.h b/include/simgrid/platf.h index e3acbfd9b4..723c659185 100644 --- a/include/simgrid/platf.h +++ b/include/simgrid/platf.h @@ -47,7 +47,7 @@ typedef enum { SURF_VM_STATE_CREATED, SURF_VM_STATE_RUNNING, - // SURF_VM_STATE_MIGRATING, + SURF_VM_STATE_MIGRATING, /* Suspend/resume does not involve disk I/O, so we assume there is no transition states. */ SURF_VM_STATE_SUSPENDED, @@ -72,6 +72,9 @@ typedef struct ws_params { double dp_rate; double dp_cap; + + /* set migration speed */ + double mig_speed; } s_ws_params_t, *ws_params_t; typedef struct tmgr_trace *tmgr_trace_t; /**< Opaque structure defining an availability trace */ @@ -220,6 +223,9 @@ typedef struct s_sg_platf_cluster_cbarg { double lat; double bb_bw; double bb_lat; + double loopback_bw; + double loopback_lat; + double limiter_link; const char* router_id; e_surf_link_sharing_policy_t sharing_policy; e_surf_link_sharing_policy_t bb_sharing_policy;