IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 8, 2006, 4:37:08 PM (20 years ago)
Author:
jhoblitt
Message:

normalize psTrace() facility names

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/camera/pmFPA.c

    r8047 r8246  
    1212* XXX: Should we implement non-linear cell->chip transforms?
    1313*
    14 *  @version $Revision: 1.9 $ $Name: not supported by cvs2svn $
    15 *  @date $Date: 2006-08-02 02:17:11 $
     14*  @version $Revision: 1.10 $ $Name: not supported by cvs2svn $
     15*  @date $Date: 2006-08-09 02:37:07 $
    1616*
    1717*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    3838    // if this readout has a parent, drop that instance
    3939    if (readout->parent) {
    40         psTrace(__func__, 9, "Removing readout %lx from cell %lx...\n", (size_t)readout, (size_t)readout->parent);
     40        psTrace("psModules.camera", 9, "Removing readout %lx from cell %lx...\n", (size_t)readout, (size_t)readout->parent);
    4141        psArray *readouts = readout->parent->readouts;
    4242        for (int i = 0; i < readouts->n; i++) {
     
    4646        }
    4747    }
    48     psTrace(__func__, 9, "Freeing readout %lx\n", (size_t) readout);
     48    psTrace("psModules.camera", 9, "Freeing readout %lx\n", (size_t) readout);
    4949    psFree(readout->image);
    5050    psFree(readout->mask);
     
    5959    // if this cell has a parent, drop that instance
    6060    if (cell->parent) {
    61         psTrace(__func__, 9, "Removing cell %lx from chip %lx...\n", (size_t)cell, (size_t)cell->parent);
     61        psTrace("psModules.camera", 9, "Removing cell %lx from chip %lx...\n", (size_t)cell, (size_t)cell->parent);
    6262        psArray *cells = cell->parent->cells;
    6363        for (int i = 0; i < cells->n; i++) {
     
    6767        }
    6868    }
    69     psTrace(__func__, 9, "Freeing cell %lx\n", (size_t)cell);
     69    psTrace("psModules.camera", 9, "Freeing cell %lx\n", (size_t)cell);
    7070    pmCellFreeReadouts(cell);
    7171    psFree(cell->readouts);
     
    8181    // if this chip has a parent, drop that instance
    8282    if (chip->parent) {
    83         psTrace(__func__, 9, "Removing chip %lx from fpa %lx...\n", (size_t)chip, (size_t)chip->parent);
     83        psTrace("psModules.camera", 9, "Removing chip %lx from fpa %lx...\n", (size_t)chip, (size_t)chip->parent);
    8484        psArray *chips = chip->parent->chips;
    8585        for (int i = 0; i < chips->n; i++) {
     
    9090    }
    9191
    92     psTrace(__func__, 9, "Freeing chip %lx\n", (size_t)chip);
     92    psTrace("psModules.camera", 9, "Freeing chip %lx\n", (size_t)chip);
    9393    pmChipFreeCells(chip);
    9494    psFree(chip->cells);
     
    109109static void FPAFree(pmFPA *fpa)
    110110{
    111     psTrace(__func__, 9, "Freeing fpa %lx\n", (size_t)fpa);
     111    psTrace("psModules.camera", 9, "Freeing fpa %lx\n", (size_t)fpa);
    112112
    113113    // NULL the parent pointers
     
    149149        }
    150150        tmpReadout->parent = NULL;
    151         psTrace(__func__, 9, "Will now free readout %lx...\n", (size_t)tmpReadout);
     151        psTrace("psModules.camera", 9, "Will now free readout %lx...\n", (size_t)tmpReadout);
    152152    }
    153153    cell->readouts = psArrayRealloc(cell->readouts, 0);
Note: See TracChangeset for help on using the changeset viewer.