IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 22, 2011, 12:48:44 PM (15 years ago)
Author:
rhenders
Message:

now generating ippToPsps plots

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippMonitor/czartool/czarpoll.pl

    r32213 r32765  
    3737
    3838
    39 my @stages = ("burntool", "chip", "cam", "fake", "warp", "stack", "diff", "magic", "magicDS", "dist", "pub");
    40 
     39my @stages = (
     40        "burntool",
     41        "chip",
     42        "cam",
     43        "fake",
     44        "warp",
     45        "stack",
     46        "diff",
     47        "magic",
     48        "magicDS",
     49        "dist",
     50        "pub");
     51
     52my @ippToPspsStages = (
     53        "processed",
     54        "loaded_to_datastore",
     55        "loaded_to_ODM",
     56        "merge_worthy",
     57        "deleted_datastore",
     58        "deleted_dxlayer",
     59        "merged",
     60        "deleted_local");
     61
     62my @allStages = (@stages, @ippToPspsStages);
    4163
    4264timePoll($period);
     
    244266    print "* Generating plots\n";
    245267
     268    # get ippToPsps labels
     269    my $ippToPspsLabels;
     270    $czarDb->getCurrentIppToPspsLabels(\$ippToPspsLabels)
     271    $plotter->setIppToPspsMode();
     272   
     273    # create ippToPsps labels
     274    foreach $stage (@ippToPspsStages) {
     275        foreach $row ( @{$ippToPspsLabels} ) {
     276            my ($label) = @{$row};
     277           
     278            print "$label | $stage"
     279            chomp($label);
     280            $plotter->createTimeSeries($label, $stage, $begin, $end, 1, 0, 1);
     281        }
     282    }
     283
     284
    246285    # create plots for each label for each stage
     286    $plotter->setStandardMode();
    247287    foreach $stage (@stages) {
    248288        foreach $row ( @{$rows} ) {
Note: See TracChangeset for help on using the changeset viewer.