Skip to content
Commit 8109863f authored by Simon Glass's avatar Simon Glass
Browse files

test: Add functions to find the amount of allocated memory



The malloc() implementations provides a way of finding out the approximate
amount of memory that is allocated. Add helper functions to make it easier
to access this and see changes over time. This is useful for tests that
want to check if memory has been allocated or freed.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent 42a8db5c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment