- Timestamp:
- Aug 26, 2010, 9:18:39 AM (16 years ago)
- Location:
- branches/sc_branches/trunkTest
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
tools/czartool/Czarplot.pm (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/sc_branches/trunkTest
- Property svn:mergeinfo changed
-
branches/sc_branches/trunkTest/tools/czartool/Czarplot.pm
r28923 r29060 5 5 use strict; 6 6 7 my @allStages = (" chip", "cam", "fake", "warp", "stack", "diff", "magic", "magicDS", "dist");7 my @allStages = ("burntool", "chip", "cam", "fake", "warp", "stack", "diff", "magic", "magicDS", "dist"); 8 8 9 9 … … 75 75 if ($numOfPlots == 0 ) { 76 76 77 print "Warning: No plots could be generated for '$label' during time period '$beginTime', '$endTime'\n";77 print "Warning: No plots could be generated for stage '$selectedStage' and label '$label' during time period '$beginTime', '$endTime'\n"; 78 78 return; 79 79 } … … 103 103 my ($processed, $pending, $faults); 104 104 my $stage = undef; 105 my $pendingMinusFaults = undef; 105 106 foreach $stage (@allStages) { 106 107 107 108 $self->{_czarDb}->countProcessedPendingAndFaults($label, $stage, $beginTime, $endTime, \$processed, \$pending, \$faults); 108 print GNUDAT "$stage $processed, $pending, $faults\n"; 109 110 $pendingMinusFaults = $pending - $faults; 111 print GNUDAT "$stage $faults $processed, $pendingMinusFaults\n"; 109 112 } 110 113 … … 258 261 if ($numOfPlots == 1) { 259 262 260 print GP "'" . $gnuplotFiles->{$stage} . "' using 1:4 title \"Processed\" with lines lt 2 ,";261 print GP "'" . $gnuplotFiles->{$stage} . "' using 1:2 title \"Pending\" with lines lt 4 ,";262 print GP "'" . $gnuplotFiles->{$stage} . "' using 1:3 title \"Faults\" with lines lt 7 ";263 print GP "'" . $gnuplotFiles->{$stage} . "' using 1:4 title \"Processed\" with lines lt 2 lw 2,"; 264 print GP "'" . $gnuplotFiles->{$stage} . "' using 1:2 title \"Pending\" with lines lt 4 lw 2,"; 265 print GP "'" . $gnuplotFiles->{$stage} . "' using 1:3 title \"Faults\" with lines lt 7 lw 2"; 263 266 } 264 267 # when plotting multiple stages, show only processed 265 268 else { 266 print GP "'" . $gnuplotFiles->{$stage} . "' using 1:4 title \"$stage\" with lines ";269 print GP "'" . $gnuplotFiles->{$stage} . "' using 1:4 title \"$stage\" with lines lw 2"; 267 270 } 268 271 $firstIn = 0; … … 339 342 "set boxwidth;" . 340 343 "set style data histogram;" . 341 "set style histogram cluster gap 3;" .344 "set style histogram rowstacked;" . 342 345 "set style fill solid border -1;" . 343 "set bmargin 5;" .344 346 "set ylabel \"Exposures\";" . 345 "plot '$inputFile' using 2:xtic(1) title \"Processed\" lt 2, '' using 3 title \"Pending\" lt 4, '' using 4 title \"Faults\" lt 7;" . 347 "set boxwidth 0.75;" . 348 "plot '$inputFile' using 2:xtic(1) title \"Faults\" lt 1, '' using 3 title \"Processed\" lt 2, '' using 4 title \"Pending\" lt 7;" . 346 349 "\n"; 350 351 347 352 348 353 close GP;
Note:
See TracChangeset
for help on using the changeset viewer.
