mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-01 08:48:29 +00:00
Auto-generate some documentation
This commit is contained in:
parent
117d0111ab
commit
13437dd19b
97 changed files with 2033 additions and 661 deletions
35
third_party/dlmalloc/mallinfo.c
vendored
35
third_party/dlmalloc/mallinfo.c
vendored
|
@ -4,19 +4,28 @@
|
|||
/**
|
||||
* Returns (by copy) a struct containing various summary statistics:
|
||||
*
|
||||
* arena: current total non-mmapped bytes allocated from system
|
||||
* ordblks: the number of free chunks
|
||||
* smblks: always zero.
|
||||
* hblks: current number of mmapped regions
|
||||
* hblkhd: total bytes held in mmapped regions
|
||||
* usmblks: the maximum total allocated space. This will be greater
|
||||
* than current total if trimming has occurred.
|
||||
* fsmblks: always zero
|
||||
* uordblks: current total allocated space (normal or mmapped)
|
||||
* fordblks: total free space
|
||||
* keepcost: the maximum number of bytes that could ideally be released
|
||||
* back to system via malloc_trim. ("ideally" means that
|
||||
* it ignores page restrictions etc.)
|
||||
* - arena: current total non-mmapped bytes allocated from system
|
||||
*
|
||||
* - ordblks: the number of free chunks
|
||||
*
|
||||
* - smblks: always zero.
|
||||
*
|
||||
* - hblks: current number of mmapped regions
|
||||
*
|
||||
* - hblkhd: total bytes held in mmapped regions
|
||||
*
|
||||
* - usmblks: the maximum total allocated space. This will be greater
|
||||
* than current total if trimming has occurred.
|
||||
*
|
||||
* - fsmblks: always zero
|
||||
*
|
||||
* - uordblks: current total allocated space (normal or mmapped)
|
||||
*
|
||||
* - fordblks: total free space
|
||||
*
|
||||
* - keepcost: the maximum number of bytes that could ideally be
|
||||
* released back to system via malloc_trim. ("ideally" means that it
|
||||
* ignores page restrictions etc.)
|
||||
*
|
||||
* Because these fields are ints, but internal bookkeeping may
|
||||
* be kept as longs, the reported values may wrap around zero and
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue