IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 10, 2011, 6:03:50 PM (15 years ago)
Author:
watersc1
Message:

update to ppSub and ppStack to add timers to the stats output

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppStack/src/ppStackConvolve.c

    r30620 r30874  
    1616    psAssert(config, "Require configuration");
    1717
     18    psTimerStart("PPSTACK_CONVOLVE");
     19   
    1820    psMetadata *recipe = psMetadataLookupMetadata(NULL, config->recipes, PPSTACK_RECIPE); // ppStack recipe
    1921    psAssert(recipe, "We've thrown an error on this before.");
     
    365367    psFree(renorms);
    366368
     369    if (options->stats) {
     370      psMetadataAddF32(options->stats, PS_LIST_TAIL, "TIME_CONVOLVE", 0,
     371                       "Time to convolve input images", psTimerMark("PPSTACK_CONVOLVE"));
     372    }
     373   
    367374    return true;
    368375}
Note: See TracChangeset for help on using the changeset viewer.