Changeset 31090
- Timestamp:
- Mar 30, 2011, 9:41:12 AM (15 years ago)
- Location:
- branches/eam_branches/ipp-20110213/ppStack/src
- Files:
-
- 5 edited
-
ppStackCleanup.c (modified) (1 diff)
-
ppStackCombineFinal.c (modified) (2 diffs)
-
ppStackCombineInitial.c (modified) (1 diff)
-
ppStackConvolve.c (modified) (2 diffs)
-
ppStackPhotometry.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20110213/ppStack/src/ppStackCleanup.c
r30620 r31090 116 116 117 117 psTrace("ppStack", 1, "Finished at %f sec\n", psTimerMark("PPSTACK")); 118 psLogMsg("ppStack", PS_LOG_INFO, "Complete ppStack run: %f sec\n", psTimerMark("PPSTACK")); 118 119 psTimerStop(); 119 120 -
branches/eam_branches/ipp-20110213/ppStack/src/ppStackCombineFinal.c
r30802 r31090 10 10 psAssert(config, "Require configuration"); 11 11 12 psTimerStart("PPSTACK_FINAL"); 13 12 14 pmReadout *outRO = options->outRO; // Output readout 13 15 pmReadout *expRO = options->expRO; // Exposure readout … … 111 113 #endif 112 114 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 113 124 return true; 114 125 } -
branches/eam_branches/ipp-20110213/ppStack/src/ppStackCombineInitial.c
r30620 r31090 89 89 90 90 if (options->stats) { 91 psMetadataAddF32(options->stats, PS_LIST_TAIL, "TIME_INITIAL", 0, 92 "Time to make final stack", psTimerMark("PPSTACK_INITIAL")); 91 psMetadataAddF32(options->stats, PS_LIST_TAIL, "TIME_INITIAL", PS_META_REPLACE, "Time to make initial stack", psTimerMark("PPSTACK_INITIAL")); 93 92 } 94 93 -
branches/eam_branches/ipp-20110213/ppStack/src/ppStackConvolve.c
r30811 r31090 16 16 psAssert(config, "Require configuration"); 17 17 18 psTimerStart("PPSTACK_CONVOLVE"); 19 18 20 psMetadata *recipe = psMetadataLookupMetadata(NULL, config->recipes, PPSTACK_RECIPE); // ppStack recipe 19 21 psAssert(recipe, "We've thrown an error on this before."); … … 424 426 psFree(satValues); 425 427 428 if (options->stats) { 429 psMetadataAddF32(options->stats, PS_LIST_TAIL, "TIME_CONVOLVE", PS_META_REPLACE, 430 "Time to convolve input images", psTimerMark("PPSTACK_CONVOLVE")); 431 } 432 426 433 return true; 427 434 } -
branches/eam_branches/ipp-20110213/ppStack/src/ppStackPhotometry.c
r30620 r31090 84 84 psMetadataAddS32(options->stats, PS_LIST_TAIL, "NUM_SOURCES", 0, "Number of sources detected", 0); 85 85 } 86 psMetadataAddF32(options->stats, PS_LIST_TAIL, "TIME_PHOT", 0, "Time to do photometry", psTimerMark("PPSTACK_PHOT"));86 psMetadataAddF32(options->stats, PS_LIST_TAIL, "TIME_PHOT", PS_META_REPLACE, "Time to do photometry", psTimerMark("PPSTACK_PHOT")); 87 87 } 88 88
Note:
See TracChangeset
for help on using the changeset viewer.
