Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Oups use the right value
authornavarro <navarro@caraja.(none)>
Mon, 17 Sep 2012 08:56:28 +0000 (10:56 +0200)
committernavarro <navarro@caraja.(none)>
Mon, 17 Sep 2012 08:56:44 +0000 (10:56 +0200)
include/simgrid/platf.h

index 15c4187..9734e70 100644 (file)
@@ -93,16 +93,16 @@ typedef struct {
   xbt_dict_t properties;
 } s_sg_platf_host_cbarg_t, *sg_platf_host_cbarg_t;
 
   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 {
     }
 
 typedef struct {
@@ -138,9 +138,9 @@ typedef struct {
   .bandwidth_trace = NULL,\
   .latency = 0.,\
   .latency_trace = NULL,\
   .bandwidth_trace = NULL,\
   .latency = 0.,\
   .latency_trace = NULL,\
-  .state = A_surfxml_link_state_ON,\
+  .state = SURF_RESOURCE_ON,\
   .state_trace = NULL,\
   .state_trace = NULL,\
-  .policy = A_surfxml_link_sharing_policy_SHARED,\
+  .policy = SURF_LINK_SHARED,\
   .properties = NULL\
 }
 
   .properties = NULL\
 }