diff options
author | Daan Leijen <daan@microsoft.com> | 2020-12-10 13:17:56 -0800 |
---|---|---|
committer | Daan Leijen <daan@microsoft.com> | 2020-12-10 13:17:56 -0800 |
commit | b803095b83cce93ae6a1070cdee5ae1f939ff178 (patch) | |
tree | 526084fdae136417fcc732edc336a19d47c3c49a /include/mimalloc-types.h | |
parent | ad058291953dbe00d7a7d7f786d17f7f4c563033 (diff) | |
parent | 745cf1e2f57f2f9207a9c45beda3ec1b20fd04ba (diff) |
merge from dev
Diffstat (limited to 'include/mimalloc-types.h')
-rw-r--r-- | include/mimalloc-types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mimalloc-types.h b/include/mimalloc-types.h index d341d86..f082d2f 100644 --- a/include/mimalloc-types.h +++ b/include/mimalloc-types.h @@ -479,6 +479,7 @@ void _mi_stat_counter_increase(mi_stat_counter_t* stat, size_t amount); #define mi_stat_counter_increase(stat,amount) (void)0 #endif +#define mi_heap_stat_counter_increase(heap,stat,amount) mi_stat_counter_increase( (heap)->tld->stats.stat, amount) #define mi_heap_stat_increase(heap,stat,amount) mi_stat_increase( (heap)->tld->stats.stat, amount) #define mi_heap_stat_decrease(heap,stat,amount) mi_stat_decrease( (heap)->tld->stats.stat, amount) |