| version 1.9, 2002/07/15 14:45:53 |
version 1.10, 2002/08/07 18:29:47 |
| Line 60 menu_memory_info(p_ptbl, y, x) |
|
| Line 60 menu_memory_info(p_ptbl, y, x) |
|
| wrefresh(win); |
wrefresh(win); |
| i=mallinfo(); |
i=mallinfo(); |
| sprintf(str, " Total arena space %8.1d \n" |
sprintf(str, " Total arena space %8.1d \n" |
| " Ordinary blocks %8.1d \n" |
" Ordinary blocks %8.1d \n" |
| // " Small blocks %8.1d \n" |
// " Small blocks %8.1d \n" |
| " Holding blocks %8.1d \n" |
" Holding blocks %8.1d \n" |
| " Space in headers %8.1d \n" |
" Space in headers %8.1d \n" |
| // " Small block use %8.1d \n" |
// " Small block use %8.1d \n" |
| // " Small blocks free %8.1d \n" |
// " Small blocks free %8.1d \n" |
| " Ordinary block use %8.1d \n" |
" Ordinary block use %8.1d \n" |
| " Ordinary block free %8.1d \n" |
" Ordinary block free %8.1d \n" |
| " Keep cost %8.1d ", |
" Keep cost %8.1d ", |
| i.arena, i.ordblks, //i.smblks, |
i.arena, i.ordblks, //i.smblks, |
| i.hblks, i.hblkhd, //i.usmblks, |
i.hblks, i.hblkhd, //i.usmblks, |
| /* i.fsmblks, */i.uordblks, |
/* i.fsmblks, */i.uordblks, |
| i.fordblks, i.keepcost); |
i.fordblks, i.keepcost); |
| mvwaddstr(win, 1, 0, str); |
mvwaddstr(win, 1, 0, str); |
| for (k=0; k<3; k++) |
for (k=0; k<3; k++) |
| for (j=0; j<xsize; j++) |
for (j=0; j<xsize; j++) |