20 #define mem_aligned_alloc(align, mem_size) _aligned_malloc(mem_size, align)
21 #define mem_aligned_free(mem) _aligned_free(mem)
25 #define mem_aligned_alloc(align, mem_size) aligned_alloc(align, mem_size)
27 #define mem_aligned_free(mem) free(mem)
size_t mem_stat_rss_max_get(void)
Get the maximum size of the resident set since program beginning.
size_t mem_stat_rss_current_get(void)
Get the current size of the resident set.
int mem_stat_setup(void)
Initialize the platform specific memory statistics facilities.