IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 30, 2011, 9:41:12 AM (15 years ago)
Author:
eugene
Message:

merging changes from trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20110213/ppStack/src/ppStackCombineFinal.c

    r30802 r31090  
    1010    psAssert(config, "Require configuration");
    1111
     12    psTimerStart("PPSTACK_FINAL");
     13   
    1214    pmReadout *outRO = options->outRO;                                      // Output readout
    1315    pmReadout *expRO = options->expRO;                                      // Exposure readout
     
    111113#endif
    112114
     115    if (options->stats) {
     116        // only add the timer if it has not been set (convolved stack)
     117        // XXX this is weak: we should be distinguishing explicitly between convolved and unconvolved stacks
     118        psMetadataLookupF32 (&status, options->stats, "TIME_FINAL");
     119        if (!status) {
     120          psMetadataAddF32(options->stats, PS_LIST_TAIL, "TIME_FINAL", PS_META_REPLACE, "Time to make final stack", psTimerMark("PPSTACK_FINAL"));
     121        }
     122    }
     123   
    113124    return true;
    114125}
Note: See TracChangeset for help on using the changeset viewer.