Changeset 29437 for trunk/tools/czarplot.pl
- Timestamp:
- Oct 15, 2010, 12:34:37 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/tools/czarplot.pl (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/czarplot.pl
r29375 r29437 23 23 my $timeSeries = undef; 24 24 my $rate = undef; 25 my $deriv = undef; 25 26 my $showCleanup = undef; 26 27 my $nebulous = undef; … … 29 30 30 31 GetOptions ( 31 "dbname |d=s" => \$czarDbName,32 "dbname=s" => \$czarDbName, 32 33 "label|l=s" => \$label, 33 34 "stage|s=s" => \$stage, … … 41 42 "cleanup|c" => \$showCleanup, 42 43 "rate|r" => \$rate, 44 "deriv|d" => \$deriv, 43 45 "timeseries|t" => \$timeSeries, 44 46 "verbose|v" => \$verbose, … … 59 61 if (!$rate) { 60 62 print "* OPTIONAL: plot timeseries of rate -r (default=off)\n";} 63 if (!$deriv) { 64 $deriv = 0; 65 print "* OPTIONAL: plot first derivative -d (default=$deriv)\n";} 61 66 if (!$showCleanup) { 62 67 $showCleanup = 0; … … 97 102 $czarDb->setDateFormat("%Y%m%d-%H%i%s"); 98 103 104 99 105 my $plotter = new czartool::Plotter( 100 106 $czarDb, … … 128 134 exit; 129 135 } 130 if (!$nebulous && $timeSeries) {$plotter->createTimeSeries($label, $stage, $begin, $end, $log, $showCleanup );}136 if (!$nebulous && $timeSeries) {$plotter->createTimeSeries($label, $stage, $begin, $end, $log, $showCleanup, $deriv);} 131 137 if ($histogram) {$plotter->createHistogram($label, $begin, $end);} 132 138 if ($nebulous && $timeSeries) {$plotter->plotStorageTimeSeries($begin, $end);}
Note:
See TracChangeset
for help on using the changeset viewer.
