Rev 968 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 968 | Rev 985 | ||
|---|---|---|---|
| Line 45... | Line 45... | ||
| 45 | #define dlmallopt mallopt |
45 | #define dlmallopt mallopt |
| 46 | #define dlmalloc_trim malloc_trim |
46 | #define dlmalloc_trim malloc_trim |
| 47 | #define dlmalloc_stats malloc_stats |
47 | #define dlmalloc_stats malloc_stats |
| 48 | #define dlmalloc_usable_size malloc_usable_size |
48 | #define dlmalloc_usable_size malloc_usable_size |
| 49 | #define dlmalloc_footprint malloc_footprint |
49 | #define dlmalloc_footprint malloc_footprint |
| - | 50 | #define dlmalloc_max_footprint malloc_max_footprint |
|
| 50 | #define dlindependent_calloc independent_calloc |
51 | #define dlindependent_calloc independent_calloc |
| 51 | #define dlindependent_comalloc independent_comalloc |
52 | #define dlindependent_comalloc independent_comalloc |
| 52 | #endif /* USE_DL_PREFIX */ |
53 | #endif /* USE_DL_PREFIX */ |
| 53 | 54 | ||
| 54 | 55 | ||
| Line 160... | Line 161... | ||
| 160 | value. Unlike mallinfo, this function returns only a precomputed |
161 | value. Unlike mallinfo, this function returns only a precomputed |
| 161 | result, so can be called frequently to monitor memory consumption. |
162 | result, so can be called frequently to monitor memory consumption. |
| 162 | Even if locks are otherwise defined, this function does not use them, |
163 | Even if locks are otherwise defined, this function does not use them, |
| 163 | so results might not be up to date. |
164 | so results might not be up to date. |
| 164 | */ |
165 | */ |
| 165 | size_t dlmalloc_footprint(); |
166 | size_t dlmalloc_footprint(void); |
| - | 167 | size_t dlmalloc_max_footprint(void); |
|
| 166 | 168 | ||
| 167 | #if !NO_MALLINFO |
169 | #if !NO_MALLINFO |
| 168 | /* |
170 | /* |
| 169 | mallinfo() |
171 | mallinfo() |
| 170 | Returns (by copy) a struct containing various summary statistics: |
172 | Returns (by copy) a struct containing various summary statistics: |
| Line 389... | Line 391... | ||
| 389 | (normally sbrk) outside of malloc. |
391 | (normally sbrk) outside of malloc. |
| 390 | 392 | ||
| 391 | malloc_stats prints only the most commonly interesting statistics. |
393 | malloc_stats prints only the most commonly interesting statistics. |
| 392 | More information can be obtained by calling mallinfo. |
394 | More information can be obtained by calling mallinfo. |
| 393 | */ |
395 | */ |
| 394 | void dlmalloc_stats(); |
396 | void dlmalloc_stats(void); |
| 395 | 397 | ||
| 396 | #endif /* !ONLY_MSPACES */ |
398 | #endif /* !ONLY_MSPACES */ |
| 397 | 399 | ||
| 398 | #if MSPACES |
400 | #if MSPACES |
| 399 | 401 | ||