| version 1.6, 2002/02/20 16:59:57 |
version 1.7, 2002/02/25 18:45:53 |
|
|
| #include "message.h" |
#include "message.h" |
| #include "proctable.h" |
#include "proctable.h" |
| |
|
| int menu_memory_info(int y, int x) |
int |
| |
menu_memory_info(p_ptbl, y, x) |
| |
PROCTABLE *p_ptbl; |
| |
int y; |
| |
int x; |
| { |
{ |
| int c, j, k; |
int c, j, k; |
| struct mallinfo i; |
struct mallinfo i; |
| Line 74 int menu_memory_info(int y, int x) |
|
| Line 78 int menu_memory_info(int y, int x) |
|
| #endif /* #if HAVE_MENU */ |
#endif /* #if HAVE_MENU */ |
| |
|
| // Total arena space * total space allocated from system * |
// Total arena space * total space allocated from system * |
| // Ordinary blocks * number of non-inuse chunks * |
// Ordinary blocks * number of non-inuse chunks * |
| // Small blocks * unused -- always zero * |
// Small blocks * unused -- always zero * |
| // Holding blocks * number of mmapped regions * |
// Holding blocks * number of mmapped regions * |
| // Space in headers * total space in mmapped regions * |
// Space in headers * total space in mmapped regions * |
| // Small block use * unused -- always zero * |
// Small block use * unused -- always zero * |
| // Small blocks free * unused -- always zero * |
// Small blocks free * unused -- always zero * |
| // Ordinary block use * total allocated space * |
// Ordinary block use * total allocated space * |
| // Ordinary block free * total non-inuse space * |
// Ordinary block free * total non-inuse space * |
| // Keep cost * top-most, releasable (via malloc_trim) space * |
// Keep cost * top-most, releasable (via malloc_trim) space * |