A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove the generated from the .cvsignore files now that they are in the cvs
[simgrid.git]
/
tools
/
MSG_visualization
/
trace2fig.pl
diff --git
a/tools/MSG_visualization/trace2fig.pl
b/tools/MSG_visualization/trace2fig.pl
index
8067874
..
6b07413
100755
(executable)
--- a/
tools/MSG_visualization/trace2fig.pl
+++ b/
tools/MSG_visualization/trace2fig.pl
@@
-4,7
+4,7
@@
use strict;
use XFig;
my($grid_Y_size)=225; # xfig
use XFig;
my($grid_Y_size)=225; # xfig
-my($grid_X_size)=
225
; # xfig
+my($grid_X_size)=
550
; # xfig
sub read_cat {
my(%Cat);
sub read_cat {
my(%Cat);
@@
-109,9
+109,11
@@
sub set_cat_position {
my($i)=0;
my($cat);
foreach $cat (@$cat_list) {
my($i)=0;
my($cat);
foreach $cat (@$cat_list) {
- $$Cat{$cat}{Y_min} = $i;
- $$Cat{$cat}{Y_max} = $i+1;
- $i++;
+ if(defined($$Cat{$cat}{state})) {
+ $$Cat{$cat}{Y_min} = $i;
+ $$Cat{$cat}{Y_max} = $i+1;
+ $i++;
+ }
}
}
}
}