Diff for ep/src/m_proctable.c between version 1.4 and 1.5
| version 1.4, 2002/02/06 21:44:11 |
version 1.5, 2002/02/17 15:18:44 |
|
|
| #ifdef STDC_HEADERS |
#ifdef STDC_HEADERS |
| # include <ctype.h> |
# include <ctype.h> |
| #endif |
#endif |
| |
|
| #if MENU |
#if MENU |
| # include <curses.h> |
# include <curses.h> |
| |
|
| Line 32 int menu_proctable_info(PROCTABLE *p_ptb |
|
| Line 33 int menu_proctable_info(PROCTABLE *p_ptb |
|
| wstandout(win); |
wstandout(win); |
| wrefresh(win); |
wrefresh(win); |
| i=mallinfo(); |
i=mallinfo(); |
| sprintf(str, " Total arena space %8.1d \n" |
sprintf(str, "proctable goes here"); |
| " Ordinary blocks %8.1d \n" |
|
| // " Small blocks %8.1d \n" |
|
| " Holding blocks %8.1d \n" |
|
| " Space in headers %8.1d \n" |
|
| // " Small block use %8.1d \n" |
|
| // " Small blocks free %8.1d \n" |
|
| " Ordinary block use %8.1d \n" |
|
| " Ordinary block free %8.1d \n" |
|
| " Keep cost %8.1d ", |
|
| i.arena, i.ordblks, //i.smblks, |
|
| i.hblks, i.hblkhd, //i.usmblks, |
|
| /* i.fsmblks, */i.uordblks, |
|
| 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++) |
| Line 65 int menu_proctable_info(PROCTABLE *p_ptb |
|
| Line 53 int menu_proctable_info(PROCTABLE *p_ptb |
|
| free(str); |
free(str); |
| return 0; |
return 0; |
| } |
} |
| |
|
| #endif /* #if MENU */ |
#endif /* #if MENU */ |
| |
|
Platon Group <platon@platon.org> http://platon.org/
|
|