Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Convert to C++, and call get_pid() directly.
[simgrid.git] / tools / simgrid_update_xml.pl
index 3980939..f42b336 100755 (executable)
@@ -5,7 +5,7 @@ eval 'exec perl -S $0 ${1+"$@"}'
 # This script updates the simgrid XML file passed as argument (modification in place)
 # It is built to do the conversion incrementally.
 
-# Copyright (c) 2006-2018. The SimGrid Team.
+# Copyright (c) 2006-2019. The SimGrid Team.
 # All rights reserved.
 #
 # This program is free software; you can redistribute it and/or modify it
@@ -123,7 +123,7 @@ Units are now mandatory in attributes. USE THE SCRIPT sg_xml_unit_converter.py T
 
 =back
 
-=item B<Version 4.1:> Introduced in SimGrid 3.16 (this is the current version)
+=item B<Version 4.1:> Introduced in SimGrid 3.16 (this is the current version).
 
 =over 4
 
@@ -146,6 +146,10 @@ Rename a few tags, but in a backward-compatible manner: the old names are still
 
 Rename the FULLDUPLEX sharing into SPLITDUPLEX.
 
+=item
+
+In <host> and <peer>, rename the 'availability_file' attribute into 'speed_file'.
+
 =back
 
 =back
@@ -156,7 +160,7 @@ Rename the FULLDUPLEX sharing into SPLITDUPLEX.
 
 =head1 COPYRIGHT AND LICENSE
 
-Copyright (c) 2006-2018. The SimGrid Team. All rights reserved.
+Copyright (c) 2006-2019. The SimGrid Team. All rights reserved.
 
 This program is free software; you may redistribute it and/or modify it
 under the terms of GNU LGPL (v2.1) license.
@@ -257,6 +261,7 @@ while (defined($line = <INPUT>)) {
        $line =~ s/\bprocess\b/actor/g;
     }
     $line =~ s/\bFULLDUPLEX\b/SPLITDUPLEX/g;
+    $line =~ s/\bavailability_file\b/speed_file/g;
        
     $output_string .= "$line\n";
 }