diff options
| author | Simon Glass <[email protected]> | 2019-12-29 21:19:23 -0700 |
|---|---|---|
| committer | Simon Glass <[email protected]> | 2020-01-07 16:02:38 -0700 |
| commit | 8109863f535e0851b50a333d4e7fdaa2006ac019 (patch) | |
| tree | 20f07f01be8decdace7d737f37113ebc4158d5dc /include/test/test.h | |
| parent | 42a8db5c5ba8541b43a1aea439b3605195b122de (diff) | |
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: Simon Glass <[email protected]>
Diffstat (limited to 'include/test/test.h')
0 files changed, 0 insertions, 0 deletions
