| iMatix home page | << | < | > | >> |
SFL Version 2.11 |
#include "sflmem.h" void mem_display ( FILE *fp /* File to dump display to */ )
Displays the contents of the memory allocation list.
{ MEMTRN *trn; fprintf (fp, "Index Size File(Line) - total size %lu\n", mem_total); mem_display_list ((MEMHDR *) &mem_list.memhdr, fp); trn = tr_list.next; while (trn != (MEMTRN *) &tr_list) { fprintf (fp, "* Transaction %s (%ld)", trn-> file? trn-> file: "<Unknown>", (long) trn-> line); fprintf (fp, "\n"); mem_display_list ((MEMHDR *) &trn-> memhdr, fp); trn = trn-> next; } fflush (fp); }
| << | < | > | >> | Copyright © 1996-2000 iMatix Corporation |