Changeset 28783 for trunk/tools/czartool/Czarplot.pm
- Timestamp:
- Jul 29, 2010, 2:46:11 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/tools/czartool/Czarplot.pm (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/czartool/Czarplot.pm
r28776 r28783 4 4 use warnings; 5 5 use strict; 6 7 use File::Temp qw(tempfile);8 6 9 7 my @allStages = ("chip", "cam", "fake", "warp", "stack", "diff", "magic", "magicDS", "dist"); … … 100 98 my $outputFile = createImageFileName($self, $label, undef, "h"); 101 99 102 my ($tempFile, $inputFile) = tempfile( "/tmp/czartool_gnuplot_histogram.XXXX", UNLINK => !$self->{_save_temps}); 100 my $inputFile = "/tmp/czarplot_gnuplot_".$label."_h.dat"; # TODO use stage not table 101 open (GNUDAT, ">$inputFile"); 102 103 103 my ($processed, $pending, $faults); 104 104 my $stage = undef; … … 106 106 107 107 $self->{_czarDb}->countProcessedPendingAndFaults($label, $stage, $beginTime, $endTime, \$processed, \$pending, \$faults); 108 print $tempFile"$stage $processed, $pending, $faults\n";109 } 110 111 close( $tempFile);108 print GNUDAT "$stage $processed, $pending, $faults\n"; 109 } 110 111 close(GNUDAT); 112 112 113 113 plotHistogram($self, $inputFile, $outputFile, $label, $beginTime, $endTime);
Note:
See TracChangeset
for help on using the changeset viewer.
