X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/27b0c1ee1d85c53f1d11bb2b8e539cd76e4cf437..77c0face3a66d71cb73f4c5444d0c45bf3bb6aa1:/tools/MSG_visualization/trace2fig.pl?ds=sidebyside diff --git a/tools/MSG_visualization/trace2fig.pl b/tools/MSG_visualization/trace2fig.pl index 7a8231eb55..0abc7ab498 100755 --- a/tools/MSG_visualization/trace2fig.pl +++ b/tools/MSG_visualization/trace2fig.pl @@ -1,6 +1,6 @@ #!/usr/bin/env perl -# Copyright (c) 2006-2007, 2014. The SimGrid Team. +# Copyright (c) 2006-2020. The SimGrid Team. # All rights reserved. # This program is free software; you can redistribute it and/or modify it @@ -98,16 +98,16 @@ sub read_link { sub build_cat_tree { my($root,$Cat)=@_; - my(@childs)=(); + my(@children)=(); my($cat); foreach $cat (keys %$Cat) { if($$Cat{$cat}{father} eq $root) { - push @childs, build_cat_tree($cat,$Cat); + push @children, build_cat_tree($cat,$Cat); } # print "$$Cat{$cat}{name}\t\t $Cat{$cat}{father}\n"; } - return [$root,@childs]; + return [$root,@children]; } sub build_cat_list {