mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-04 22:49:32 +03:00
reset stats for stress test when using mimalloc
This commit is contained in:
parent
6a230f8329
commit
cb4fc2c792
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue