in interrupt handler show the heap we use, not what we claim we use
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@400 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
parent
798bdbdf39
commit
7c6b48a20d
@ -1113,7 +1113,7 @@ InteractSIGINT(int ch) {
|
||||
double frag = (100.0*(heap_space_taken-HeapUsed))/heap_space_taken;
|
||||
YP_fprintf(YP_stderr, "Code Space: %ld (%ld bytes used, fragmentation %.3f%%).\n",
|
||||
(unsigned long int)(Unsigned (AuxTop) - Unsigned (HeapBase)),
|
||||
(unsigned long int)(HeapUsed),
|
||||
(unsigned long int)(Unsigned(HeapTop)-Unsigned(HeapBase)),
|
||||
frag);
|
||||
YP_fprintf(YP_stderr, "Stack Space: %ld (%ld for Global, %ld for local).\n",
|
||||
(unsigned long int)(sizeof(CELL)*(LCL0-H0)),
|
||||
|
Reference in New Issue
Block a user