IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 16251


Ignore:
Timestamp:
Jan 25, 2008, 4:16:38 PM (18 years ago)
Author:
eugene
Message:

adding timer for psastroAnalysis, writing to output headers

Location:
trunk/psastro/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/psastro/src/psastroAnalysis.c

    r15891 r16251  
    55    bool status;
    66    int nStars;
     7
     8    // measure the total elapsed time in psastroAnalysis.
     9    psTimerStart ("psastroAnalysis");
    710
    811    // select the current recipe
  • trunk/psastro/src/psastroChipAstrom.c

    r16071 r16251  
    7171                }
    7272
     73                // write the elapsed time here; this will be updated in psastroMosaicAstrometry, if called
     74                psMetadataAddF32 (updates, PS_LIST_TAIL, "DT_ASTR", PS_META_REPLACE, "elapsed psastro time", psTimerMark ("psastroAnalysis"));
     75
    7376                pmAstromWriteWCS (updates, fpa, chip, NONLIN_TOL);
    7477                psMetadataAdd (readout->analysis, PS_LIST_TAIL, "PSASTRO.HEADER",  PS_DATA_METADATA, "psastro header stats", updates);
  • trunk/psastro/src/psastroMosaicAstrom.c

    r16074 r16251  
    129129    }
    130130
     131    // write the elapsed time here; this will be updated in psastroMosaicAstrometry, if called
     132    psMetadataAddF32 (updates, PS_LIST_TAIL, "DT_ASTR", PS_META_REPLACE, "elapsed psastro time", psTimerMark ("psastroAnalysis"));
     133
    131134    psMetadataAddMetadata (fpa->analysis, PS_LIST_TAIL, "PSASTRO.HEADER",  PS_META_REPLACE, "psastro header stats", updates);
    132135    psFree (updates);
Note: See TracChangeset for help on using the changeset viewer.