IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 15, 2008, 2:45:18 PM (18 years ago)
Author:
Paul Price
Message:

Adding old code to track memory usage in ppImage.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppImage/src/ppImageAstrom.c

    r15142 r16084  
    1919    PS_ASSERT (input, false);
    2020
     21    ppImageMemoryDump("astrom");
     22
    2123    // convert the output sources created by psphot into astrometry objects
    2224    if (!psastroConvertFPA (input->fpa, recipe)) {
    23         psError (PSASTRO_ERR_UNKNOWN, false, "error reading input data\n");
    24         return false;
     25        psError (PSASTRO_ERR_UNKNOWN, false, "error reading input data\n");
     26        return false;
    2527    }
    2628
    2729    if (!psastroAnalysis (config)) {
    28         psError (PSASTRO_ERR_UNKNOWN, false, "failure in psastro analysis\n");
    29         return false;
     30        psError (PSASTRO_ERR_UNKNOWN, false, "failure in psastro analysis\n");
     31        return false;
    3032    }
    3133
     
    3941    while ((chip = pmFPAviewNextChip(view, input->fpa, 1)) != NULL) {
    4042        psLogMsg ("ppImageLoop", 4, "Chip %d: %x %x\n", view->chip, chip->file_exists, chip->process);
     43
     44        ppImageMemoryDump("astrom");
    4145
    4246        // Output and Close at Chip level
     
    5357    }
    5458
    55     // deactivate the PSASTRO files, re-active all else 
     59    // deactivate the PSASTRO files, re-active all else
    5660    // XXX do we need a way to activate / deactivate other groups?
    5761    pmFPAfileActivate (config->files, true, NULL);
Note: See TracChangeset for help on using the changeset viewer.