X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7da2926d0733ff0683f31aeea176ce71e127264f..8c28b37830ca80a5d7c183a358e42163f1e430f3:/src/surf/surfxml_parse.c?ds=sidebyside diff --git a/src/surf/surfxml_parse.c b/src/surf/surfxml_parse.c index 4764cb9f04..05820ac38d 100644 --- a/src/surf/surfxml_parse.c +++ b/src/surf/surfxml_parse.c @@ -14,7 +14,7 @@ #include "xbt/file.h" #include "xbt/dict.h" #include "surf/surfxml_parse.h" -#include "surf/surf_private.h" +#include "src/surf/surf_private.h" #include "surf/random_mgr.h" #include "simgrid/sg_config.h" @@ -479,6 +479,7 @@ void ETag_surfxml_host(void) { host.coord = A_surfxml_host_coordinates; sg_platf_new_host(&host); + xbt_dynar_free(&host.power_peak); current_property_set = NULL; } @@ -974,22 +975,8 @@ void STag_surfxml_model___prop(void){ xbt_dict_set(current_model_property_set, A_surfxml_model___prop_id, xbt_strdup(A_surfxml_model___prop_value), NULL); } -/* ***************************************** */ -/* TUTORIAL: New TAG */ -void STag_surfxml_gpu(void) -{ - XBT_DEBUG("STag_surfxml_gpu"); -} -void ETag_surfxml_gpu(void) -{ - s_sg_platf_gpu_cbarg_t gpu = SG_PLATF_GPU_INITIALIZER; - memset(&gpu,0,sizeof(gpu)); - - gpu.name = A_surfxml_gpu_name; - - sg_platf_new_gpu(&gpu); -} -/* ***************************************** */ +void STag_surfxml_gpu(void) {} +void ETag_surfxml_gpu(void) {} /* nothing to do in those functions */ void ETag_surfxml_prop(void){}