IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 10942


Ignore:
Timestamp:
Jan 5, 2007, 12:30:08 PM (19 years ago)
Author:
jhoblitt
Message:

add blurb and checking memory overhead in gdb

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/jch-memory/psLib/src/sys/psMemory.h

    r10941 r10942  
    1414 *  @ingroup MemoryManagement
    1515 *
    16  *  @version $Revision: 1.61.2.9 $ $Name: not supported by cvs2svn $
    17  *  @date $Date: 2007-01-05 22:16:48 $
     16 *  @version $Revision: 1.61.2.10 $ $Name: not supported by cvs2svn $
     17 *  @date $Date: 2007-01-05 22:30:08 $
    1818 *
    1919 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    6666 *  aligned for all storage types.
    6767 */
     68
     69// The memory overhead of a psMemBlock + the trailing post can be checked in
     70// gdb with the following command:
     71//      p sizeof(psMemBlock) + sizeof(void*)
    6872typedef struct psMemBlock
    6973{
     
    148152) __attribute__((malloc));
    149153# else // __GNUC__
     154
    150155    psPtr p_psAlloc(
    151156        size_t size,                       ///< Size required
     
    357362) __attribute__((malloc));
    358363# else // __GNUC__
     364
    359365    psPtr p_psRealloc(
    360366        psPtr ptr,                         ///< Pointer to re-allocate
Note: See TracChangeset for help on using the changeset viewer.