Changeset 29114 for trunk/tools/czarplot.pl
- Timestamp:
- Sep 2, 2010, 3:09:56 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/tools/czarplot.pl (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/czarplot.pl
r29057 r29114 23 23 my $nebulous = undef; 24 24 my $savingToFile = undef; 25 my $log = undef; 25 26 26 27 GetOptions ( … … 36 37 "timeseries|t" => \$timeSeries, 37 38 "verbose|v" => \$verbose, 39 "log|g" => \$log, 38 40 ); 39 40 41 41 42 print "\n*******************************************************************************\n"; … … 50 51 if (!$timeSeries) { 51 52 print "* OPTIONAL: plot timeseries -t (default=on)\n";} 53 if (!$log) { 54 $log = 0; 55 print "* OPTIONAL: use log plots -g (default=$log\n";} 52 56 if (!$nebulous) { 53 57 print "* OPTIONAL: plot nebulous disk space -n (default=off)\n";} 54 58 if (!$label) { 55 print "* OPTIONAL: choose a label -l <labellName> (default='all_stdscience_labels')\n";} 59 $label = "all_stdscience_labels"; 60 print "* OPTIONAL: choose a label -l <labellName> (default=$label)\n";} 56 61 if (!$stage) { 57 62 print "* OPTIONAL: choose a stage -s <chip|cam|warp|etc> (default=none)\n";} … … 63 68 print "* OPTIONAL: choose an end time -e <datetime> (default=now)\n";} 64 69 if (!$path) { 65 print "* OPTIONAL: choose an output location -o <path> (default=none)\n";} 70 print "* OPTIONAL: choose an output location -o <path> (default=none)\n"; 71 } 66 72 print "*\n*******************************************************************************\n"; 67 73 … … 69 75 70 76 # default values 71 if (!$label) {$label = "all_stdscience_labels";}72 77 if (!$nebulous && !$histogram && !$timeSeries) {$timeSeries = 1; $histogram = 0;} 73 78 if (!$verbose) {$verbose = 0;} … … 92 97 my $diskUsage = 1; # TODO 93 98 94 if (!$nebulous && $timeSeries) {$czarplot->createTimeSeries($label, $stage, $begin, $end );}99 if (!$nebulous && $timeSeries) {$czarplot->createTimeSeries($label, $stage, $begin, $end, !$log, $log);} 95 100 if ($histogram) {$czarplot->createHistogram($label, $begin, $end);} 96 101 if ($nebulous && $timeSeries) {$czarplot->plotStorageTimeSeries($begin, $end);}
Note:
See TracChangeset
for help on using the changeset viewer.
