IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 28, 2005, 3:39:10 PM (21 years ago)
Author:
gusciora
Message:

psTrace message modifications.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/pmReadoutCombine.c

    r4168 r4425  
    55 *  @author GLG, MHPCC
    66 *
    7  *  @version $Revision: 1.23 $ $Name: not supported by cvs2svn $
    8  *  @date $Date: 2005-06-09 00:59:54 $
     7 *  @version $Revision: 1.24 $ $Name: not supported by cvs2svn $
     8 *  @date $Date: 2005-06-29 01:39:10 $
    99 *
    1010 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    1818
    1919/******************************************************************************
    20 p_psDetermineNumBits(data): This routine takes an enum psStatsOptions as an
     20DetermineNumBits(data): This routine takes an enum psStatsOptions as an
    2121argument and returns the number of non-zero bits.
    2222 *****************************************************************************/
    23 psStatsOptions DetermineNumBits(psStatsOptions data)
     23static psS32 DetermineNumBits(psStatsOptions data)
    2424{
    2525    psS32 i;
     
    2727    psS32 numBits = 0;
    2828
    29     for (i=0;i<8 * sizeof(psStatsOptions);i++) {
     29    for (i=0;i<(8 * sizeof(psStatsOptions));i++) {
    3030        if (0x0001 & tmpData) {
    3131            numBits++;
     
    3737
    3838/******************************************************************************
    39 p_psDetermineNumBits(data): This routine takes an enum psStatsOptions as an
    40 argument and returns the number of non-zero bits.
    41  
    4239XXX: Must add support for S16 and S32 types.  F32 currently supported.
    4340 *****************************************************************************/
Note: See TracChangeset for help on using the changeset viewer.