X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/85b02668e44e45559b9fc8474cbb81c7e6b3ae74..c912b7d6e75473bd05731ccf77f3e2d82afb7802:/src/surf/workstation_ptask_L07.c?ds=sidebyside diff --git a/src/surf/workstation_ptask_L07.c b/src/surf/workstation_ptask_L07.c index ce71a99b5d..b8ecc23cd8 100644 --- a/src/surf/workstation_ptask_L07.c +++ b/src/surf/workstation_ptask_L07.c @@ -26,8 +26,8 @@ typedef struct cpu_L07 { double power_scale; double power_current; tmgr_trace_event_t power_event; - e_surf_resource_state_t state_current; tmgr_trace_event_t state_event; + e_surf_resource_state_t state_current; int id; /* cpu and network card are a single object... */ } s_cpu_L07_t, *cpu_L07_t; @@ -729,7 +729,7 @@ static void ptask_parse_link_init(sg_platf_link_cbarg_t link) link->properties); xbt_free(link_id); link_id = bprintf("%s_DOWN", link->id); - ptask_link_create_resource(bprintf("%s_DOWN", link->id), + ptask_link_create_resource(link_id, link->bandwidth, link->bandwidth_trace, link->latency,