-
Notifications
You must be signed in to change notification settings - Fork 349
vmh: add virtual heap stats #10333
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
vmh: add virtual heap stats #10333
Conversation
|
Can one of the admins verify this patch?
|
79fcab5 to
a0d4fd3
Compare
lgirdwood
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@wjablon1 can you add add more context and sign off the commit message. Thanks !
37a3940 to
a8c18b0
Compare
|
test this please |
tmleman
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, just please resolve the issue reported by checkpatch.
softwarecki
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It will be ready to merge after fixing a checkpatch error.
a8c18b0 to
927997a
Compare
|
@wjablon1 Please check testbench and cmocka failures. |
|
rerun CI, it was stuck. |
|
SOFCI TEST |
927997a to
d8c19b3
Compare
|
SOFCI TEST |
Option that allows collecting statistics on individual allocator of a virtual memory heap. By defaults the following stats are output per allocator: 1. Maximal number of blocks allocated at any given moment during the heap lifespan 2. How many times the allocator was full, and an allocation had to be redirected to another allocator (with greater/less optimal block size) By default, stats are outputted only on allocation error This feature depends on SYS_MEM_BLOCKS_RUNTIME_STATS Zephyr option and hence is controlled by the same config option Signed-off-by: Wojciech Jablonski <[email protected]>
d8c19b3 to
3498472
Compare
|
SOFCI TEST |
Option that allows collecting statistics on individual regions of a virtual
memory heap. By defaults the following states are output per region:
lifespan
to another region (with greater/less optimal block size)
By default, stats are outputted only on allocation error
This feature depends on SYS_MEM_BLOCKS_RUNTIME_STATS Zephyr option and
hence is controlled by the same config option