mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-06 19:38:41 +03:00
wip: start on purge
This commit is contained in:
parent
e43eb1f191
commit
ba39e4d65b
3 changed files with 42 additions and 28 deletions
|
@ -40,7 +40,7 @@ static int ITER = 20;
|
|||
static int THREADS = 8;
|
||||
static int SCALE = 10;
|
||||
static int ITER = 10;
|
||||
#elif 0
|
||||
#elif 1
|
||||
static int THREADS = 4;
|
||||
static int SCALE = 10;
|
||||
static int ITER = 10;
|
||||
|
@ -345,11 +345,11 @@ int main(int argc, char** argv) {
|
|||
#ifndef NDEBUG
|
||||
//mi_debug_show_arenas(true, true, false);
|
||||
// mi_debug_show_arenas(true, false, false);
|
||||
mi_collect(true);
|
||||
mi_debug_show_arenas(true, false, false);
|
||||
// mi_collect(true);
|
||||
mi_debug_show_arenas(true,false,false);
|
||||
#else
|
||||
mi_collect(false);
|
||||
mi_debug_show_arenas(true, true, false);
|
||||
mi_debug_show_arenas(true,false,false);
|
||||
// mi_stats_print(NULL);
|
||||
#endif
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue