From: navarro Date: Mon, 17 Sep 2012 08:56:28 +0000 (+0200) Subject: Oups use the right value X-Git-Tag: v3_8~146^2~49 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/ea633221fff7c6306ba493f3bd7f6418789c95fd Oups use the right value --- diff --git a/include/simgrid/platf.h b/include/simgrid/platf.h index 15c4187f83..9734e704e5 100644 --- a/include/simgrid/platf.h +++ b/include/simgrid/platf.h @@ -93,16 +93,16 @@ typedef struct { xbt_dict_t properties; } s_sg_platf_host_cbarg_t, *sg_platf_host_cbarg_t; -#define SG_PLATF_HOST_INITIALIZER {\ - .id = NULL, \ - .power_peak = 0, \ - .core_amount = 1., \ - .power_scale = 1, \ - .initial_state = A_surfxml_host_state_ON, \ - .power_trace = NULL, \ - .state_trace = NULL, \ - .coord = NULL, \ - .properties = NULL \ +#define SG_PLATF_HOST_INITIALIZER { \ + .id = NULL,\ + .power_peak = 0,\ + .core_amount = 1.,\ + .power_scale = 1,\ + .initial_state = SURF_RESOURCE_ON,\ + .power_trace = NULL,\ + .state_trace = NULL,\ + .coord = NULL,\ + .properties = NULL\ } typedef struct { @@ -138,9 +138,9 @@ typedef struct { .bandwidth_trace = NULL,\ .latency = 0.,\ .latency_trace = NULL,\ - .state = A_surfxml_link_state_ON,\ + .state = SURF_RESOURCE_ON,\ .state_trace = NULL,\ - .policy = A_surfxml_link_sharing_policy_SHARED,\ + .policy = SURF_LINK_SHARED,\ .properties = NULL\ }