fix page info size and order; atomic page flags

This commit is contained in:
daanx 2024-12-06 22:37:59 -08:00
parent 5a5943ad33
commit 659a9dd51d
10 changed files with 87 additions and 89 deletions

View file

@ -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 = 100;
static int ITER = 10;
@ -347,6 +347,8 @@ int main(int argc, char** argv) {
mi_collect(true);
mi_debug_show_arenas(true,true,false);
#endif
mi_collect(true);
mi_debug_show_arenas(true, true, false);
// mi_stats_print(NULL);
#else
mi_stats_print(NULL); // so we see rss/commit/elapsed