Re: [PATCH 14/19] test: Add functions to find the amount of allocated memory

2020-01-10 Thread sjg
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 Gl

[PATCH 14/19] test: Add functions to find the amount of allocated memory

2019-12-29 Thread Simon Glass
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 Gl