Searched hist:f288234f41706e154d4e9f6d65aa64272747b0e0 (Results 1 – 1 of 1) sorted by relevance
| /optee_os/lib/libutils/isoc/ |
| H A D | bget.c | f288234f41706e154d4e9f6d65aa64272747b0e0 Fri Mar 07 15:54:01 UTC 2025 Jens Wiklander <jens.wiklander@linaro.org> libutils: bget: add free2_sum to struct bpoolset
Add the field free2_sum to struct bpoolset to be used to calculate a metric for heap fragmentation. The value is calculated and kept up to date when compiled with statistics (CFG_WITH_STATS=y) enabled. See xtest and [1] for how to use the new field.
Link: https://asawicki.info/news_1757_a_metric_for_memory_fragmentation [1] Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
|