reset stats for stress test when using mimalloc

This commit is contained in:
Daan 2023-03-04 09:17:35 -08:00
parent 6a230f8329
commit cb4fc2c792
1 changed files with 3 additions and 0 deletions

View File

@ -241,6 +241,9 @@ int main(int argc, char** argv) {
//printf("(reserve huge: %i\n)", res);
//bench_start_program();
#ifndef USE_STD_MALLOC
mi_stats_reset();
#endif
// Run ITER full iterations where half the objects in the transfer buffer survive to the next round.
srand(0x7feb352d);