IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 8439


Ignore:
Timestamp:
Aug 21, 2006, 11:23:13 AM (20 years ago)
Author:
rhl
Message:

Added psMemStats() to report state of memory system

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/sys/psMemory.h

    r7914 r8439  
    1212 *  @ingroup MemoryManagement
    1313 *
    14  *  @version $Revision: 1.58 $ $Name: not supported by cvs2svn $
    15  *  @date $Date: 2006-07-15 02:57:12 $
     14 *  @version $Revision: 1.59 $ $Name: not supported by cvs2svn $
     15 *  @date $Date: 2006-08-21 21:23:13 $
    1616 *
    1717 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    517517);
    518518
     519
     520/** return statistics on memory usage
     521 *
     522 * @return the total amount of memory owned by psLib; if non-NULL also provide a breakdown
     523 * into recyclable, allocated, and allocated-and-persistent
     524 */
     525size_t psMemStats(const bool print, ///< print details as they're found?
     526                  size_t *allocated, ///< memory that's currently allocated (but not persistent)
     527                  size_t *persistent, ///< persistent memory that's currently allocated
     528                  size_t *freelist); ///< memory that's waiting to be recycled
     529
    519530//@} End of Memory Management Functions
    520531
Note: See TracChangeset for help on using the changeset viewer.