Changeset 5682 for trunk/psLib/src/math/psStats.c
- Timestamp:
- Dec 5, 2005, 11:33:29 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/math/psStats.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/math/psStats.c
r5655 r5682 17 17 * 18 18 * 19 * @version $Revision: 1.15 6$ $Name: not supported by cvs2svn $20 * @date $Date: 2005-12-0 1 23:35:33$19 * @version $Revision: 1.157 $ $Name: not supported by cvs2svn $ 20 * @date $Date: 2005-12-05 21:33:29 $ 21 21 * 22 22 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 1672 1672 } 1673 1673 1674 // XXX: Get rid of this, or put it in psConstants.h1675 void PRINT_LEAKS()1676 {1677 psScalar *tmpScalar = psScalarAlloc(0.0, PS_TYPE_F32);1678 psMemCheckCorruption( 1 );1679 psS32 currentId = psMemGetId();1680 // psMemBlock** blks;1681 // psS32 nLeaks = psMemCheckLeaks( currentId, &blks, stderr, false );1682 psS32 nLeaks = psMemCheckLeaks(currentId,NULL,stderr,false);1683 printf("COOL: %d leaks.\n", nLeaks);1684 tmpScalar->data.F32 = 0.0;1685 }1686 1687 /*1688 #define PRINT_MEMLEAKS(NUM) \1689 printf("A: ---------------------------------------- (ID: %d)\n", NUM); \1690 memLeaks = psMemCheckLeaks(currentId,NULL,stderr,false); \1691 printf("B: ---------------------------------------- (%d)\n", memLeaks); \1692 #define PRINT_MEMLEAKS(NUM) \1693 memLeaks = currentId;1694 */1695 1696 1697 1674 /****************************************************************************** 1698 1675 p_psVectorRobustStats(myVector, maskVector, maskVal, stats): This is the new
Note:
See TracChangeset
for help on using the changeset viewer.
