HomeSort by relevance Sort by last modified time
    Searched refs:n_threads (Results 1 - 20 of 20) sorted by null

  /external/compiler-rt/lib/tsan/benchmarks/
start_many_threads.cc 25 int n_threads; local
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
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...]
vts_many_threads_bench.cc 45 int n_threads, n_iterations; variable
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...]
mini_bench_shared.cc 27 int n_threads = 0; local
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...]
  /external/ltp/testcases/kernel/syscalls/tgkill/
tgkill01.c 24 static int n_threads = 10; variable
63 TST_CHECKPOINT_WAKE2(1, n_threads);
65 for (i = 0; i < n_threads; i++) {
81 for (i = 0; i < n_threads; i++) {
106 if (tst_parse_int(str_threads, &n_threads, 1, INT_MAX))
109 threads = SAFE_MALLOC(sizeof(*threads) * n_threads);
116 for (i = 0; i < n_threads; i++)
119 for (i = 0; i < n_threads; i++)
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/
1-6.c 50 static int n_threads; variable
100 pthread_t threads[n_threads];
108 it.it_value.tv_sec = n_threads / 20;
109 it.it_value.tv_usec = (n_threads % 20) * 50000;
123 for (i = 0; i < n_threads; i++) {
139 for (i = 0; i < n_threads; i++)
241 n_threads = get_ncpu();
242 if (n_threads == -1) {
247 n_threads);
250 n_threads = 1
    [all...]
  /art/test/testrunner/
run_build_test_target.py 39 parser.add_argument('-j', default='1', dest='n_threads')
60 n_threads = options.n_threads variable
71 MAKE_OPTIONS='DX= -j{threads}'.format(threads = n_threads))
81 build_command += ' -j' + str(n_threads)
97 cmd += ['-j' + str(n_threads)]
118 # run_test_command += ['-j', str(n_threads)]
  /external/libunwind/src/coredump/
_UCD_create.c 216 unsigned n_threads; local
229 n_threads = 0;
234 n_threads++;
239 ui->n_threads = n_threads;
240 ui->threads = malloc(sizeof (void *) * n_threads);
242 n_threads = 0;
247 ui->threads[n_threads++] = NOTE_DATA (note_hdr);
271 if (ui->n_threads == 0)
288 return ui->n_threads;
    [all...]
_UCD_internal.h 94 int n_threads; member in struct:UCD_info
  /external/libevent/
event_iocp.c 106 h = CreateIoCompletionPort((HANDLE)fd, port->port, key, port->n_threads);
189 port->n_threads = n_cpus * 2;
190 port->threads = mm_calloc(port->n_threads, sizeof(HANDLE));
204 for (i=0; i<port->n_threads; ++i) {
240 for (i=0; i<port->n_threads; ++i) {
iocp-internal.h 81 short n_threads; member in struct:event_iocp_port
  /external/toolchain-utils/crosperf/
schedv2.py 286 n_threads = max(2, min(20, (n_benchmarkruns + 3) / 4))
289 n_threads, n_benchmarkruns))
290 benchmarkruns_per_thread = (n_benchmarkruns + n_threads - 1) / n_threads
292 for i in range(n_threads - 1):
297 n_threads - 1) * benchmarkruns_per_thread:])
  /art/
test.py 31 parser.add_argument('-j', default='', dest='n_threads', help='specify number of concurrent tests')
66 build_command += ' -j' + str(options.n_threads)
  /external/compiler-rt/lib/asan/tests/
asan_noinst_test.cc 171 const int n_threads = 3000; local
173 for (int i = 0; i < n_threads; i++) {
  /external/google-benchmark/src/
benchmark.cc 125 int n_threads, internal::ThreadTimer* timer,
137 threads(n_threads),
  /external/libcxx/utils/google-benchmark/src/
benchmark.cc 125 int n_threads, internal::ThreadTimer* timer,
137 threads(n_threads),
  /external/tensorflow/tensorflow/python/kernel_tests/
basic_gpu_test.py 262 n_threads = 4
265 for _ in xrange(n_threads):
  /external/compiler-rt/lib/tsan/rtl/
tsan_rtl.cc 137 uptr n_threads; local
139 ctx->thread_registry->GetNumberOfThreads(&n_threads, &n_running_threads);
141 WriteMemoryProfile(buf.data(), buf.size(), n_threads, n_running_threads);
  /external/google-benchmark/include/benchmark/
benchmark.h 671 int n_threads, internal::ThreadTimer* timer,
    [all...]
  /external/libcxx/utils/google-benchmark/include/benchmark/
benchmark.h 671 int n_threads, internal::ThreadTimer* timer,
    [all...]

Completed in 511 milliseconds