Changeset 31886 for trunk/tools/czarplot.pl
- Timestamp:
- Jul 15, 2011, 4:16:20 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/tools/czarplot.pl (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/czarplot.pl
r30953 r31886 26 26 my $rateInterval = undef; 27 27 my $deriv = undef; 28 my $showCleanup = undef;29 28 my $nebulous = undef; 30 29 my $savingToFile = undef; … … 46 45 "histogram|h" => \$histogram, 47 46 "nebulous|n" => \$nebulous, 48 "cleanup|c" => \$showCleanup,49 47 "rate|r" => \$rate, 50 48 "deriv|f" => \$deriv, … … 81 79 $analysis = 0; 82 80 print "* OPTIONAL: include analysis -a (default=$analysis)\n";} 83 if (!$showCleanup) {84 $showCleanup = 0;85 print "* OPTIONAL: include cleanup in timeseries -c (default=$showCleanup)\n";}86 81 if (!$log) { 87 82 $log = 0; … … 166 161 } 167 162 168 if ($rate ) {163 if ($rate and !$timeSeries) { 169 164 170 # default to a rate histogram if time series not selected 171 if (!$timeSeries) {$histogram = 1;} 172 $plotter->createRatePlot($label, $stage, $begin, $end, $rateInterval, $histogram, $timeSeries); 165 $plotter->createRateHistogram($label, $stage, $begin, $end, $rateInterval); 166 exit; 167 } 168 169 if (!$histogram && !$nebulous) { 170 $plotter->createTimeSeries($label, $stage, $begin, $end, $timeSeries, $log, $rate); 173 171 exit; 174 172 } 175 if (!$nebulous && $timeSeries) {$plotter->createTimeSeries($label, $stage, $begin, $end, $log, $showCleanup, $deriv);} 173 176 174 if ($histogram) {$plotter->createHistogram($label, $begin, $end);} 177 175 if ($nebulous && $timeSeries) {$plotter->plotStorageTimeSeries($begin, $end);}
Note:
See TracChangeset
for help on using the changeset viewer.
