usermode/library/malloc-original/benchmarks/larson/dlm.h

00001 
00002 #ifdef __cplusplus
00003 extern "C" {
00004 #endif
00005 
00006 /* SVID2/XPG mallinfo structure */
00007 
00008 struct mallinfo {
00009   int arena;    /* total space allocated from system */
00010   int ordblks;  /* number of non-inuse chunks */
00011   int smblks;   /* unused -- always zero */
00012   int hblks;    /* number of mmapped regions */
00013   int hblkhd;   /* total space in mmapped regions */
00014   int usmblks;  /* unused -- always zero */
00015   int fsmblks;  /* unused -- always zero */
00016   int uordblks; /* total allocated space */
00017   int fordblks; /* total non-inuse space */
00018   int keepcost; /* top-most, releasable (via malloc_trim) space */
00019 };      
00020         
00021 /* Public routines */
00022 
00023 void    dl_malloc_init( void );
00024 void*   dl_malloc(size_t, PerfCounters *pfc);
00025 void    dl_free(void*, PerfCounters *pfc);
00026 int     dl_malloc_trim(size_t);
00027 void    dl_malloc_stats();
00028 int     dl_mallopt(int, int);
00029 struct mallinfo dl_mallinfo(void);
00030 void    dl_clear_lock_counts( void ) ;
00031 void    dl_print_lock_counts( void ) ;
00032 
00033 
00034 
00035 #ifdef __cplusplus
00036 };  /* end of extern "C" */
00037 #endif

Generated on Sat Apr 23 11:43:35 2011 for Mnemosyne by  doxygen 1.4.7