Commit 233d64e9 authored by Kevin Harms's avatar Kevin Harms

Fix so that variance table of darshan-job-summar.pl encode file name in a latex safe way.

Also removed a stray print statement.


git-svn-id: https://svn.mcs.anl.gov/repos/darshan/trunk@318 3b7491f3-a168-0410-bf4b-c445ed680a29
parent 343685dc
...@@ -105,7 +105,6 @@ while ($line = <TRACE>) { ...@@ -105,7 +105,6 @@ while ($line = <TRACE>) {
($junk, $version) = split(':', $line, 2); ($junk, $version) = split(':', $line, 2);
$version =~ s/^\s+//; $version =~ s/^\s+//;
($major, $minor) = split(/\./, $version, 2); ($major, $minor) = split(/\./, $version, 2);
print "version:$version major:$major minor:$minor\n";
} }
} }
else { else {
...@@ -887,9 +886,10 @@ foreach $key (keys %hash_files) { ...@@ -887,9 +886,10 @@ foreach $key (keys %hash_files) {
my $vb = sprintf("%.3g", sqrt($hash_files{$key}{'variance_bytes'})); my $vb = sprintf("%.3g", sqrt($hash_files{$key}{'variance_bytes'}));
my $fast_bytes = format_bytes($hash_files{$key}{'fastest_bytes'}); my $fast_bytes = format_bytes($hash_files{$key}{'fastest_bytes'});
my $slow_bytes = format_bytes($hash_files{$key}{'slowest_bytes'}); my $slow_bytes = format_bytes($hash_files{$key}{'slowest_bytes'});
my $name = encode('latex', $hash_files{$key}{'name'});
print VARP " print VARP "
$hash_files{$key}{'name'} \& $name \&
$hash_files{$key}{'procs'} \& $hash_files{$key}{'procs'} \&
$hash_files{$key}{'fastest_rank'} \& $hash_files{$key}{'fastest_rank'} \&
$hash_files{$key}{'fastest_time'} \& $hash_files{$key}{'fastest_time'} \&
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment