Actual source code: bss_malloc.h

  1: /*$Id: bss_malloc.h,v 1.2 2001/04/10 19:37:38 bsmith Exp $*/
  2: /********************************bss_malloc.h**********************************
  3: SPARSE GATHER-SCATTER PACKAGE: bss_malloc bss_malloc ivec error comm gs queue

  5: Author: Henry M. Tufo III

  7: e-mail: hmt@cs.brown.edu

  9: snail-mail:
 10: Division of Applied Mathematics
 11: Brown University
 12: Providence, RI 02912

 14: Last Modification: 
 15: 11.21.97
 16: *********************************bss_malloc.h*********************************/

 18: /********************************bss_malloc.h**********************************
 19: File Description:
 20: -----------------

 22: *********************************bss_malloc.h*********************************/
 23: #ifndef _bss_malloc_h
 24: #define _bss_malloc_h



 28: /********************************bss_malloc.h**********************************
 29: Function:

 31: Input : 
 32: Output: 
 33: Return: 
 34: Description: 
 35: Usage: 
 36: *********************************bss_malloc.h*********************************/
 37: extern void  bss_init(void);
 38: extern void *bss_malloc(size_t size);
 39: extern void  bss_free(void *ptr);
 40: extern void  bss_stats(void);
 41: extern int   bss_frees(void);
 42: extern int   bss_calls(void);

 44: extern void  perm_init(void);
 45: extern void *perm_malloc(size_t size);
 46: extern void  perm_free(void *ptr);
 47: extern void  perm_stats(void);
 48: extern int   perm_frees(void);
 49: extern int   perm_calls(void);

 51: #endif