Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Make snapshots compatible with SMPI privatization of global variables
[simgrid.git] / tools / MSG_visualization / colorize.pl
index 9fdd3df..b3c5671 100755 (executable)
@@ -1,5 +1,11 @@
 #!/usr/bin/perl
 
+# Copyright (c) 2005, 2007, 2010, 2014. 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.
+
 $col_white    = "\033[00m";
 $col_black    = "\033[30m";
 $col_red      = "\033[31m";
@@ -75,7 +81,7 @@ sub print_line {
     print pidcolor($pid);
 
     if(defined($location)) {
-       printf "[%10s:%-10s %s ]",$host,$procname,$location;
+       printf "[%10s:%-10s] %s ",$host,$procname,$location;
     } else {
        printf "[%10s:%-10s]",$host,$procname;
     }