IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 1, 2006, 2:31:28 PM (20 years ago)
Author:
Paul Price
Message:

Fixing up trace components.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppMerge/src/ppMergeCombine.c

    r9737 r9824  
    7070        }
    7171        psFree(leaks);
    72         psTrace(__func__, 0, "Memory in use: %zd\n", totalSize);
    73         psTrace(__func__, 0, "Largest block: %ld\n", largest);
    74         psTrace(__func__, 0, "sbrk(): %zd\n", sbrk(0));
     72        psTrace("ppMerge", 0, "Memory in use: %zd\n", totalSize);
     73        psTrace("ppMerge", 0, "Largest block: %ld\n", largest);
     74        psTrace("ppMerge", 0, "sbrk(): %zd\n", sbrk(0));
    7575    }
    7676    return;
     
    172172                                                                options->shutterRej,
    173173                                                                options->combine->maskVal);
    174                     psTrace(__func__, 5, "Chip %d, cell %d\n", view->chip, view->cell);
     174                    psTrace("ppMerge", 5, "Chip %d, cell %d\n", view->chip, view->cell);
    175175                } else {
    176176                    psError(PS_ERR_UNKNOWN, true, "Not enough images to combine: %d\n", numRead);
     
    219219                    if (numRead > 0) {
    220220                        pmReadoutCombine(readout, stack, cellZeros, cellScales, options->combine);
    221                         psTrace(__func__, 5, "Chip %d, cell %d, scan %d\n", view->chip, view->cell, numScan);
     221                        psTrace("ppMerge", 5, "Chip %d, cell %d, scan %d\n", view->chip, view->cell, numScan);
    222222                    }
    223223                    numScan++;
     
    252252                if (numRead > 0) {
    253253                    pmReadoutCombine(readout, stack, cellZeros, cellScales, options->combine);
    254                     psTrace(__func__, 5, "Chip %d, cell %d\n", view->chip, view->cell);
     254                    psTrace("ppMerge", 5, "Chip %d, cell %d\n", view->chip, view->cell);
    255255                }
    256256
     
    291291            // Write the pixels
    292292            if (cell->hdu) {
    293                 psTrace(__func__, 5, "Writing out cell HDU.\n");
     293                psTrace("ppMerge", 5, "Writing out cell HDU.\n");
    294294                pmCellWrite(cell, data->outFile, config->database, false);
    295295                pmCellFreeData(cell);
     
    306306        // Write the pixels
    307307        if (chip->hdu) {
    308             psTrace(__func__, 5, "Writing out chip HDU.\n");
     308            psTrace("ppMerge", 5, "Writing out chip HDU.\n");
    309309            pmChipWrite(chip, data->outFile, config->database, false, false);
    310310            pmChipFreeData(chip);
     
    314314    if (data->out->hdu) {
    315315        // Write the pixels
    316         psTrace(__func__, 5, "Writing out FPA HDU.\n");
     316        psTrace("ppMerge", 5, "Writing out FPA HDU.\n");
    317317        pmFPAWrite(data->out, data->outFile, config->database, false, false);
    318318    }
Note: See TracChangeset for help on using the changeset viewer.