mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-06 19:38:41 +03:00
add initial fast tls for macOSX
This commit is contained in:
parent
fea903900d
commit
0989562c2d
3 changed files with 41 additions and 14 deletions
|
@ -27,7 +27,7 @@ terms of the MIT license.
|
|||
// argument defaults
|
||||
static int THREADS = 32; // more repeatable if THREADS <= #processors
|
||||
static int SCALE = 10; // scaling factor
|
||||
static int ITER = 5; // N full iterations destructing and re-creating all threads
|
||||
static int ITER = 50; // N full iterations destructing and re-creating all threads
|
||||
|
||||
// static int THREADS = 8; // more repeatable if THREADS <= #processors
|
||||
// static int SCALE = 100; // scaling factor
|
||||
|
@ -250,7 +250,7 @@ int main(int argc, char** argv) {
|
|||
#endif
|
||||
|
||||
// mi_collect(true);
|
||||
// mi_stats_print(NULL);
|
||||
mi_stats_print(NULL);
|
||||
//bench_end_program();
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue