Changeset 32760
- Timestamp:
- Nov 22, 2011, 12:35:57 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/ippMonitor/czartool/czarplot.pl (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippMonitor/czartool/czarplot.pl
r32325 r32760 27 27 my $nebulous = undef; 28 28 my $savingToFile = undef; 29 my $analysis = undef;30 29 my $exposureId = undef; 31 30 my $log = undef; 31 my $psps = undef; 32 32 33 33 GetOptions ( … … 45 45 "nebulous|n" => \$nebulous, 46 46 "rate|r" => \$rate, 47 "analysis|a" => \$analysis,48 47 "timeseries|t" => \$timeSeries, 49 48 "verbose|v" => \$verbose, 50 49 "log|g" => \$log, 50 "psps|i" => \$psps, 51 51 ); 52 52 … … 58 58 print "* UNKNKOWN: option @ARGV\n"; 59 59 } 60 if ($analysis && !$stage) {61 $quit = 1;62 print "* REQUIRED: choose a stage for analsis -s <chip|cam|warp|etc> (default=none)\n";}63 60 if (!$histogram) { 64 61 print "* OPTIONAL: plot histogram -h (default=off)\n";} … … 71 68 if (!$rate) { 72 69 print "* OPTIONAL: plot histogram of rate -r (default=off)\n";} 73 if (!$analysis) {74 $analysis = 0;75 print "* OPTIONAL: include analysis -a (default=$analysis)\n";}76 70 if (!$log) { 77 71 $log = 0; … … 97 91 print "* OPTIONAL: choose an output location -o <path> (default=none)\n"; 98 92 } 93 if (!$psps) { 94 print "* OPTIONAL: plot ippToPsps stages -i (default=off)\n";} 99 95 print "*\n*******************************************************************************\n"; 100 96 … … 104 100 105 101 # default values 106 if (!$rate && !$magicMask && !$nebulous && !$histogram && !$ analysis && !$timeSeries) {$timeSeries = 1;}102 if (!$rate && !$magicMask && !$nebulous && !$histogram && !$timeSeries) {$timeSeries = 1;} 107 103 if (!$verbose) {$verbose = 0;} 108 104 if (!$save_temps) {$save_temps = 0;} … … 123 119 $plotter = czartool::Plotter->new_display($config, $save_temps); 124 120 } 121 122 if ($psps) {$plotter->setIppToPspsMode();} 125 123 126 124 # if a single day has been chosen … … 177 175 } 178 176 179 if($analysis) {180 181 my $stageMetrics = new czartool::StageMetrics($stage, $label, $begin, $end);182 if ($czarDb->runAnalysis($stageMetrics)) {$stageMetrics->printMe();}183 }
Note:
See TracChangeset
for help on using the changeset viewer.
