X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/168c9a11b4654465024e2a43f620244f978f6a24..f2e6d1720c871dfec7d3ba04e8e0189337f8dd3d:/src/surf/surfxml_parse.c diff --git a/src/surf/surfxml_parse.c b/src/surf/surfxml_parse.c index cbb596611a..f312e78858 100644 --- a/src/surf/surfxml_parse.c +++ b/src/surf/surfxml_parse.c @@ -1,6 +1,5 @@ -/* $Id$ */ - -/* Copyright (c) 2004 Arnaud Legrand. All rights reserved. */ +/* Copyright (c) 2006, 2007, 2008, 2009, 2010. The SimGrid Team. + * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -1046,7 +1045,6 @@ static void convert_route_multi_to_routes(void) /* Trace management functions */ static double trace_periodicity = -1.0; -static double trace_timestep = -1.0; static char *trace_file = NULL; static char *trace_id; @@ -1055,7 +1053,6 @@ static void parse_Stag_trace(void) trace_id = strdup(A_surfxml_trace_id); trace_file = strdup(A_surfxml_trace_file); surf_parse_get_double(&trace_periodicity, A_surfxml_trace_periodicity); - surf_parse_get_double(&trace_timestep, A_surfxml_trace_timestep); } static void parse_Etag_trace(void) @@ -1069,7 +1066,7 @@ static void parse_Etag_trace(void) else trace = tmgr_trace_new_from_string(trace_id, surfxml_pcdata, - trace_periodicity, trace_timestep); + trace_periodicity); } xbt_dict_set(traces_set_list, trace_id, (void *) trace, NULL); }