Changeset 31054 for trunk/ppStack
- Timestamp:
- Mar 25, 2011, 5:26:55 AM (15 years ago)
- Location:
- trunk/ppStack/src
- Files:
-
- 4 edited
-
ppStackCombineFinal.c (modified) (1 diff)
-
ppStackCombineInitial.c (modified) (1 diff)
-
ppStackConvolve.c (modified) (1 diff)
-
ppStackPhotometry.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppStack/src/ppStackCombineFinal.c
r30874 r31054 114 114 115 115 if (options->stats) { 116 psMetadataAddF32(options->stats, PS_LIST_TAIL, "TIME_FINAL", 0, 117 "Time to make final stack", psTimerMark("PPSTACK_FINAL")); 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 } 118 122 } 119 123 -
trunk/ppStack/src/ppStackCombineInitial.c
r30874 r31054 89 89 90 90 if (options->stats) { 91 psMetadataAddF32(options->stats, PS_LIST_TAIL, "TIME_INITIAL", 0, 92 "Time to make initial 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 -
trunk/ppStack/src/ppStackConvolve.c
r30874 r31054 368 368 369 369 if (options->stats) { 370 psMetadataAddF32(options->stats, PS_LIST_TAIL, "TIME_CONVOLVE", 0,370 psMetadataAddF32(options->stats, PS_LIST_TAIL, "TIME_CONVOLVE", PS_META_REPLACE, 371 371 "Time to convolve input images", psTimerMark("PPSTACK_CONVOLVE")); 372 372 } -
trunk/ppStack/src/ppStackPhotometry.c
r30620 r31054 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.
