Skip to content
Snippets Groups Projects
Commit 26aa8b71 authored by Oliver Sander's avatar Oliver Sander
Browse files

When printing the heap size, print its unit (bytes) as well

[[Imported from SVN: r8469]]
parent 8a28c297
No related branches found
No related tags found
No related merge requests found
......@@ -144,8 +144,8 @@ void NS_PREFIX HeapStat (const HEAP *theHeap)
assert(theHeap->freeObjects[i] == NULL);
#endif
}
UserWriteF(" size =%d\n",theHeap->size);
UserWriteF(" used =%d\n",theHeap->used);
UserWriteF(" size (bytes) =%d\n",theHeap->size);
UserWriteF(" used (bytes) =%d\n",theHeap->used);
UserWriteF(" freelistmem =%d\n",theHeap->freelistmem);
UserWriteF(" MAXFREEOBJECTS =%d\n",MAXFREEOBJECTS);
UserWriteF(" usedfreelistent=%d\n",usedfreelistentries);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment