Changeset 29580
- Timestamp:
- Oct 27, 2010, 12:01:26 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/tools/czarplot.pl (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/czarplot.pl
r29437 r29580 27 27 my $nebulous = undef; 28 28 my $savingToFile = undef; 29 my $analysis = undef; 29 30 my $log = undef; 30 31 … … 43 44 "rate|r" => \$rate, 44 45 "deriv|d" => \$deriv, 46 "analysis|a" => \$analysis, 45 47 "timeseries|t" => \$timeSeries, 46 48 "verbose|v" => \$verbose, … … 64 66 $deriv = 0; 65 67 print "* OPTIONAL: plot first derivative -d (default=$deriv)\n";} 68 if (!$analysis) { 69 $analysis = 0; 70 print "* OPTIONAL: include analysis -a (default=$analysis)\n";} 66 71 if (!$showCleanup) { 67 72 $showCleanup = 0; … … 139 144 elsif ($nebulous) {$plotter->plotDiskUsageHistogram();} 140 145 146 147 if($analysis) { 148 149 my ($started, $finished, $stuck, $processed, $pending, $faults, $totalTime); 150 $czarDb->runAnalysis($label, $stage, $begin, $end, \$started, \$finished, \$stuck, \$processed, \$pending, \$faults, \$totalTime); 151 152 if (defined $started) {print "* Processing started at $started\n";} 153 if (defined $finished) {print "* Processing finished at $finished and took $totalTime\n";} 154 else {print "* Processing has not finished\n";} 155 if (defined $stuck) {print "* Processing has been stuck since $stuck\n";} 156 print "* $processed exposures have been processed, with $pending pending and $faults faults\n"; 157 158 print "*******************************************************************************\n"; 159 }
Note:
See TracChangeset
for help on using the changeset viewer.
