Commit 78e6d62
committed
Add glibc's function: malloc_stats
The function is used to report stats about glibc's memory allocator to
stderr:
```
Arena 0:
system bytes = 1350406144
in use bytes = 3725633952
Arena 1:
system bytes = 1895907328
in use bytes = 1653748608
Total (incl. mmap):
system bytes = 277286912
in use bytes = 2410356000
max mmap regions = 56
max mmap bytes = 2876198912
```1 parent 3daa8bd commit 78e6d62
File tree
2 files changed
+2
-0
lines changed- libc-test/semver
- src/unix/linux_like/linux/gnu
2 files changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
643 | 643 | | |
644 | 644 | | |
645 | 645 | | |
| 646 | + | |
646 | 647 | | |
647 | 648 | | |
648 | 649 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1426 | 1426 | | |
1427 | 1427 | | |
1428 | 1428 | | |
| 1429 | + | |
1429 | 1430 | | |
1430 | 1431 | | |
1431 | 1432 | | |
| |||
0 commit comments