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/pmFPARead.c

    r7923 r8246  
    126126    }
    127127
    128     psTrace(__func__, 5, "Reading section [%.0f:%.0f,%.0f:%.0f]\n",
     128    psTrace("psModules.camera", 5, "Reading section [%.0f:%.0f,%.0f:%.0f]\n",
    129129            toRead.x0, toRead.x1, toRead.y0, toRead.y1);
    130130    psImage *image = psFitsReadImage(fits, toRead, z); // Desired pixels
    131     psTrace(__func__, 7, "Image is %dx%d\n", image->numCols, image->numRows);
     131    psTrace("psModules.camera", 7, "Image is %dx%d\n", image->numCols, image->numRows);
    132132
    133133    // XXX: We only support F32 for now
     
    140140    if (resize) {
    141141        // For some reason, the region of interest is smaller than the number of pixels we want.
    142         psTrace(__func__, 5, "Resizing image to %.0fx%.0f\n",
     142        psTrace("psModules.camera", 5, "Resizing image to %.0fx%.0f\n",
    143143                fullSize.x1 - fullSize.x0, fullSize.y1 - fullSize.y0);
    144144        psImage *temp = psImageAlloc(fullSize.x1 - fullSize.x0, fullSize.y1 - fullSize.y0, image->type.type);
     
    286286    if (offset >= maxSize) {
    287287        // We've read everything there is
    288         psTrace(__func__, 7, "Read everything.\n");
     288        psTrace("psModules.camera", 7, "Read everything.\n");
    289289        psFree(readout->image);
    290290        return false;
    291291    }
    292292    int upper = PS_MIN(offset + numScans, maxSize); // The upper limit for the pixel read
    293     psTrace(__func__, 7, "offset=%d, upper = %d, image is %dx%d, trimsec [%.0f:%.0f,%.0f:%.0f]\n",
     293    psTrace("psModules.camera", 7, "offset=%d, upper = %d, image is %dx%d, trimsec [%.0f:%.0f,%.0f:%.0f]\n",
    294294            offset, upper, naxis1, naxis2, trimsec->x0, trimsec->x1, trimsec->y0, trimsec->y1);
    295295
Note: See TracChangeset for help on using the changeset viewer.