HomeSort by: relevance | last modified time | path
    Searched defs:n_threads (Results 1 - 12 of 12) sorted by relevancy

  /src/sys/external/bsd/compiler_rt/dist/lib/tsan/benchmarks/
start_many_threads.cc 25 int n_threads; local in function:main
27 n_threads = 100;
29 n_threads = atoi(argv[1]);
31 printf("Usage: %s n_threads\n", argv[0]);
34 printf("%s: n_threads=%d\n", __FILE__, n_threads);
36 pthread_barrier_init(&all_threads_ready, NULL, n_threads + 1);
38 pthread_t *t = new pthread_t[n_threads];
39 for (int i = 0; i < n_threads; i++) {
45 for (int i = 0; i < n_threads; i++)
    [all...]
start_many_threads.cc 25 int n_threads; local in function:main
27 n_threads = 100;
29 n_threads = atoi(argv[1]);
31 printf("Usage: %s n_threads\n", argv[0]);
34 printf("%s: n_threads=%d\n", __FILE__, n_threads);
36 pthread_barrier_init(&all_threads_ready, NULL, n_threads + 1);
38 pthread_t *t = new pthread_t[n_threads];
39 for (int i = 0; i < n_threads; i++) {
45 for (int i = 0; i < n_threads; i++)
    [all...]
mini_bench_local.cc 27 int n_threads = 0; local in function:main
29 n_threads = 4;
32 n_threads = atoi(argv[1]);
33 assert(n_threads > 0 && n_threads <= 32);
36 printf("%s: n_threads=%d len=%d iter=%d\n",
37 __FILE__, n_threads, len, kNumIter);
38 a = new int[n_threads * len];
39 pthread_t *t = new pthread_t[n_threads];
40 for (int i = 0; i < n_threads; i++)
    [all...]
mini_bench_shared.cc 27 int n_threads = 0; local in function:main
29 n_threads = 4;
32 n_threads = atoi(argv[1]);
33 assert(n_threads > 0 && n_threads <= 32);
36 printf("%s: n_threads=%d len=%d iter=%d\n",
37 __FILE__, n_threads, len, kNumIter);
41 pthread_t *t = new pthread_t[n_threads];
42 for (int i = 0; i < n_threads; i++) {
45 for (int i = 0; i < n_threads; i++)
    [all...]
mini_bench_local.cc 27 int n_threads = 0; local in function:main
29 n_threads = 4;
32 n_threads = atoi(argv[1]);
33 assert(n_threads > 0 && n_threads <= 32);
36 printf("%s: n_threads=%d len=%d iter=%d\n",
37 __FILE__, n_threads, len, kNumIter);
38 a = new int[n_threads * len];
39 pthread_t *t = new pthread_t[n_threads];
40 for (int i = 0; i < n_threads; i++)
    [all...]
mini_bench_shared.cc 27 int n_threads = 0; local in function:main
29 n_threads = 4;
32 n_threads = atoi(argv[1]);
33 assert(n_threads > 0 && n_threads <= 32);
36 printf("%s: n_threads=%d len=%d iter=%d\n",
37 __FILE__, n_threads, len, kNumIter);
41 pthread_t *t = new pthread_t[n_threads];
42 for (int i = 0; i < n_threads; i++) {
45 for (int i = 0; i < n_threads; i++)
    [all...]
vts_many_threads_bench.cc 45 int n_threads, n_iterations; variable in typeref:typename:int
62 int offset = idx * kNumMutexes / n_threads;
74 n_threads = 2;
78 n_threads = atoi(argv[1]);
79 assert(n_threads > 0 && n_threads <= 32);
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)
    [all...]
vts_many_threads_bench.cc 45 int n_threads, n_iterations; variable in typeref:typename:int
62 int offset = idx * kNumMutexes / n_threads;
74 n_threads = 2;
78 n_threads = atoi(argv[1]);
79 assert(n_threads > 0 && n_threads <= 32);
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)
    [all...]
  /src/sys/external/bsd/compiler_rt/dist/lib/asan/tests/
asan_noinst_test.cc 180 const int n_threads = 3000; local in function:TEST
182 for (int i = 0; i < n_threads; i++) {
asan_noinst_test.cc 180 const int n_threads = 3000; local in function:TEST
182 for (int i = 0; i < n_threads; i++) {
  /src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/
tsan_rtl.cc 140 uptr n_threads; local in function:__tsan::MemoryProfiler
142 ctx->thread_registry->GetNumberOfThreads(&n_threads, &n_running_threads);
144 WriteMemoryProfile(buf.data(), buf.size(), n_threads, n_running_threads);
tsan_rtl.cc 140 uptr n_threads; local in function:__tsan::MemoryProfiler
142 ctx->thread_registry->GetNumberOfThreads(&n_threads, &n_running_threads);
144 WriteMemoryProfile(buf.data(), buf.size(), n_threads, n_running_threads);

Completed in 59 milliseconds