- Timestamp:
- Nov 3, 2008 10:28:15 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/misc.c
r2030 r2035 26 26 # ifdef __APPLE__ 27 27 # include <malloc/malloc.h> 28 # endif 29 # if defined(__GLIBC__) 30 # include <malloc.h> 28 31 # endif 29 32 #endif … … 1392 1395 1393 1396 /* XVID2/XPG mallinfo (displayed per GLIBC documentation). */ 1394 # if 0 && defined(__GLIBC__) /* XXX: finish on linux, check older glibc versions. */1397 # if defined(__GLIBC__) 1395 1398 struct mallinfo m; 1396 1399 1397 1400 m = mallinfo(); 1398 1401 printf (_("\n# CRT Heap: %d bytes in use, %d bytes free\n"), 1399 m.uordblks, s.fordblks);1402 m.uordblks, m.fordblks); 1400 1403 1401 1404 printf (_("# # free chunks=%d, # fastbin blocks=%d\n"),
Note:
See TracChangeset
for help on using the changeset viewer.