OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:n_garbage_threads
(Results
1 - 1
of
1
) sorted by null
/external/compiler-rt/lib/tsan/benchmarks/
vts_many_threads_bench.cc
72
int
n_garbage_threads
;
local
75
n_garbage_threads
= 200;
80
n_garbage_threads
= atoi(argv[2]);
81
assert(
n_garbage_threads
> 0 &&
n_garbage_threads
<= 16000);
84
printf("Usage: %s n_threads
n_garbage_threads
n_iterations\n", argv[0]);
87
printf("%s: n_threads=%d
n_garbage_threads
=%d n_iterations=%d\n",
88
__FILE__, n_threads,
n_garbage_threads
, n_iterations);
90
pthread_barrier_init(&all_threads_ready, NULL,
n_garbage_threads
+ n_threads + 1);
95
pthread_t *g_t = new pthread_t[
n_garbage_threads
];
[
all
...]
Completed in 87 milliseconds