mimalloc icon indicating copy to clipboard operation
mimalloc copied to clipboard

expose mi_stats_t via public interfaces

Open romange opened this issue 3 years ago • 1 comments

It could be nice if we could:

a) (read-only) access thread local stats b) (read-only) access _mi_stats_main

getting stats via mi_heap_visit_blocks is just too expensive cpu-wise.

romange avatar Mar 10 '22 06:03 romange

@daanx do you plan to work on this? (Would also be nice to have some stats per heap)

epoupon avatar May 30 '24 07:05 epoupon