IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 16250


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

adding timer for psphotReadout, writing to output headers

Location:
trunk/psphot/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/psphotOutput.c

    r13808 r16250  
    149149    psMetadataItemSupplement (header, recipe, "MSKY_NY");
    150150
     151    psMetadataAddF32 (header, PS_LIST_TAIL, "DT_PHOT", PS_META_REPLACE, "elapsed psphot time", psTimerMark ("psphotReadout"));
     152
    151153    // XXX : don't require any of these about values to exist
    152154    psErrorClear ();
  • trunk/psphot/src/psphotReadout.c

    r15936 r16250  
    22
    33bool psphotReadout(pmConfig *config, const pmFPAview *view) {
     4
     5    // measure the total elapsed time in psphotReadout.  XXX the current threading plan
     6    // for psphot envisions threading within psphotReadout, not multiple threads calling
     7    // the same psphotReadout.  In the current plan, this dtime is the elapsed time used
     8    // jointly by the multiple threads, not the total time used by all threads.
     9    psTimerStart ("psphotReadout");
    410
    511    bool dump = (psTraceGetLevel("psphot") >= 6);
Note: See TracChangeset for help on using the changeset viewer.