- Timestamp:
- Mar 5, 2012, 5:19:48 PM (14 years ago)
- Location:
- branches/meh_branches/ppstack_test
- Files:
-
- 3 edited
-
. (modified) (1 prop)
-
ippMonitor (modified) (1 prop)
-
ippMonitor/czartool/czarplot.pl (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/meh_branches/ppstack_test
- Property svn:mergeinfo changed
-
branches/meh_branches/ppstack_test/ippMonitor
- Property svn:mergeinfo changed
/branches/eam_branches/ipp-20110710/ippMonitor (added) merged: 32337 /branches/eam_branches/ipp-20110906/ippMonitor (added) merged: 32630 /branches/eam_branches/ipp-20111110/ippMonitor (added) merged: 32694
- Property svn:mergeinfo changed
-
branches/meh_branches/ppstack_test/ippMonitor/czartool/czarplot.pl
r32093 r33415 25 25 my $magicMask = undef; 26 26 my $rateInterval = undef; 27 my $deriv = undef;28 27 my $nebulous = undef; 29 28 my $savingToFile = undef; 30 my $analysis = undef;31 29 my $exposureId = undef; 32 30 my $log = undef; 31 my $psps = undef; 33 32 34 33 GetOptions ( … … 46 45 "nebulous|n" => \$nebulous, 47 46 "rate|r" => \$rate, 48 "deriv|f" => \$deriv,49 "analysis|a" => \$analysis,50 47 "timeseries|t" => \$timeSeries, 51 48 "verbose|v" => \$verbose, 52 49 "log|g" => \$log, 50 "psps|u" => \$psps, 53 51 ); 54 52 … … 60 58 print "* UNKNKOWN: option @ARGV\n"; 61 59 } 62 if ($analysis && !$stage) {63 $quit = 1;64 print "* REQUIRED: choose a stage for analsis -s <chip|cam|warp|etc> (default=none)\n";}65 60 if (!$histogram) { 66 61 print "* OPTIONAL: plot histogram -h (default=off)\n";} … … 73 68 if (!$rate) { 74 69 print "* OPTIONAL: plot histogram of rate -r (default=off)\n";} 75 if (!$deriv) {76 $deriv = 0;77 print "* OPTIONAL: plot first derivative -f (default=$deriv)\n";}78 if (!$analysis) {79 $analysis = 0;80 print "* OPTIONAL: include analysis -a (default=$analysis)\n";}81 70 if (!$log) { 82 71 $log = 0; … … 94 83 print "* OPTIONAL: time interval for rate plot -i <'1 hour'|'1 day'|etc> (default=depends on time frame)\n";} 95 84 if (!$begin) { 96 print "* OPTIONAL: choose a begin time -b <datetime> (default= 6:35am this morning)\n";}85 print "* OPTIONAL: choose a begin time -b <datetime> (default=18:00)\n";} 97 86 if (!$end) { 98 87 print "* OPTIONAL: choose an end time -e <datetime> (default=now)\n";} … … 102 91 print "* OPTIONAL: choose an output location -o <path> (default=none)\n"; 103 92 } 93 if (!$psps) { 94 print "* OPTIONAL: plot ippToPsps stages -u (default=off)\n";} 104 95 print "*\n*******************************************************************************\n"; 105 96 … … 109 100 110 101 # default values 111 if (!$rate && !$magicMask && !$nebulous && !$histogram && !$ analysis && !$timeSeries) {$timeSeries = 1;}102 if (!$rate && !$magicMask && !$nebulous && !$histogram && !$timeSeries) {$timeSeries = 1;} 112 103 if (!$verbose) {$verbose = 0;} 113 104 if (!$save_temps) {$save_temps = 0;} … … 128 119 $plotter = czartool::Plotter->new_display($config, $save_temps); 129 120 } 121 122 if ($psps) {$plotter->setIppToPspsMode();} 130 123 131 124 # if a single day has been chosen … … 182 175 } 183 176 184 if($analysis) {185 186 my $stageMetrics = new czartool::StageMetrics($stage, $label, $begin, $end);187 if ($czarDb->runAnalysis($stageMetrics)) {$stageMetrics->printMe();}188 }
Note:
See TracChangeset
for help on using the changeset viewer.
