HomeSort by relevance Sort by last modified time
    Searched defs:thread_count (Results 1 - 25 of 39) sorted by null

1 2

  /external/valgrind/drd/tests/
pth_create_chain.c 17 int thread_count = *(int*)(p); local
20 if (thread_count > 0)
22 thread_count--;
23 // std::cout << "create " << thread_count << std::endl;
24 s_arg[thread_count] = thread_count;
27 pthread_create(&s_thread[thread_count], &attr, thread_func,
28 &s_arg[thread_count]);
31 std::cout << "created " << thread_count << "(" << s_thread[thread_count]
41 unsigned thread_count; local
    [all...]
pth_barrier_thr_cr.c 30 int thread_count = barriers * barrier_participants; local
37 tid = malloc(thread_count * sizeof(*tid));
39 for (i = 0; i < thread_count; i++) {
43 for (i = 0; i < thread_count; i++) {
annotate_rwlock.c 143 const int thread_count = 10; local
144 pthread_t tid[thread_count];
148 for (i = 0; i < thread_count; i++)
153 for (i = 0; i < thread_count; i++)
annotate_barrier.c 30 unsigned thread_count; member in struct:__anon25392
59 b->thread_count = count;
79 if (__sync_add_and_fetch(&b->wait_count, 1) == b->thread_count)
81 __sync_sub_and_fetch(&b->wait_count, b->thread_count);
pth_broadcast.c 114 int thread_count; local
134 thread_count = argc > optind + 1 ? atoi(argv[optind + 1]) : 10;
148 thread_vec = malloc(sizeof(struct cthread) * thread_count);
149 for (p = thread_vec; p != thread_vec + thread_count; p++)
161 csema_p(&sema, thread_count);
170 for (i = 0; i < thread_count; i++)
  /external/compiler-rt/lib/sanitizer_common/
sanitizer_stoptheworld.h 36 uptr thread_count() const { return thread_ids_.size(); } function in class:__sanitizer::SuspendedThreadsList
  /bionic/tests/
stack_protector_test.cpp 74 size_t thread_count = 9; local
75 for (size_t i = 1; i < thread_count; ++i) {
86 ASSERT_EQ(thread_count, checker.tids.size());
  /external/webrtc/webrtc/libjingle/xmllite/
xmlelement_unittest.cc 243 int thread_count = 2; // Was 100, but that's too slow. local
248 for (int i = 0; i < thread_count; i++) {
254 for (int i = 0; i < thread_count; i++) {
  /external/valgrind/helgrind/tests/
annotate_rwlock.c 157 const int thread_count = 10; local
158 pthread_t tid[thread_count];
162 for (i = 0; i < thread_count; i++)
167 for (i = 0; i < thread_count; i++)
  /art/compiler/jit/
jit_compiler.cc 163 /* thread_count */ 1,
173 size_t thread_count = compiler_driver_->GetThreadCount(); local
180 DCHECK_EQ(thread_count, 1u)
191 DCHECK_LT(thread_count * inline_depth_limit, std::numeric_limits<uint16_t>::max())
  /art/runtime/native/
org_apache_harmony_dalvik_ddmc_DdmVmInternal.cc 137 uint16_t thread_count = 0; local
138 thread_list->ForEach(ThreadCountCallback, &thread_count);
142 JDWP::Append2BE(bytes, thread_count);
  /art/runtime/
thread_pool.cc 168 const size_t thread_count = GetThreadCount(); local
170 const size_t active_threads = thread_count - waiting_count_;
  /external/libvpx/libvpx/test/
encode_perf_test.cc 178 char thread_count[32]; local
179 snprintf(thread_count, sizeof(thread_count), "_t-%d",
181 display_name += thread_count;
  /external/google-breakpad/src/processor/
stackwalk_common.cc 846 int thread_count = process_state.threads()->size(); local
919 int thread_count = process_state.threads()->size(); local
    [all...]
minidump_processor.cc 154 unsigned int thread_count = threads->thread_count(); local
160 thread_index < thread_count;
164 thread_index, thread_count);
    [all...]
  /external/google-breakpad/src/testing/gtest/src/
gtest-port.cc 91 mach_msg_type_number_t thread_count; local
93 const kern_return_t status = task_threads(task, &thread_list, &thread_count);
99 sizeof(thread_t) * thread_count);
100 return static_cast<size_t>(thread_count);
  /external/gtest/src/
gtest-port.cc 114 mach_msg_type_number_t thread_count; local
116 const kern_return_t status = task_threads(task, &thread_list, &thread_count);
122 sizeof(thread_t) * thread_count);
123 return static_cast<size_t>(thread_count);
  /external/llvm/utils/unittest/googletest/src/
gtest-port.cc 86 mach_msg_type_number_t thread_count; local
88 const kern_return_t status = task_threads(task, &thread_list, &thread_count);
94 sizeof(thread_t) * thread_count);
95 return static_cast<size_t>(thread_count);
  /external/mesa3d/src/gtest/src/
gtest-port.cc 86 mach_msg_type_number_t thread_count; local
88 const kern_return_t status = task_threads(task, &thread_list, &thread_count);
94 sizeof(thread_t) * thread_count);
95 return static_cast<size_t>(thread_count);
  /external/protobuf/gtest/src/
gtest-port.cc 84 mach_msg_type_number_t thread_count; local
86 const kern_return_t status = task_threads(task, &thread_list, &thread_count);
92 sizeof(thread_t) * thread_count);
93 return static_cast<size_t>(thread_count);
  /ndk/sources/third_party/googletest/googletest/src/
gtest-port.cc 91 mach_msg_type_number_t thread_count; local
93 const kern_return_t status = task_threads(task, &thread_list, &thread_count);
99 sizeof(thread_t) * thread_count);
100 return static_cast<size_t>(thread_count);
  /toolchain/binutils/binutils-2.25/gold/
gold.cc 196 int thread_count = options.thread_count_initial(); local
197 if (thread_count == 0)
198 thread_count = cmdline.number_of_input_files();
199 workqueue->set_thread_count(thread_count);
649 int thread_count = options.thread_count_middle(); local
650 if (thread_count == 0)
651 thread_count = std::max(2, input_objects->number_of_input_objects());
652 workqueue->set_thread_count(thread_count);
847 int thread_count = options.thread_count_final(); local
848 if (thread_count == 0
    [all...]
  /external/google-breakpad/src/client/mac/handler/
exception_handler.cc 821 mach_msg_type_number_t thread_count; local
823 if (task_threads(mach_task_self(), &threads_for_task, &thread_count))
827 for (unsigned int i = 0; i < thread_count; ++i) {
839 mach_msg_type_number_t thread_count; local
841 if (task_threads(mach_task_self(), &threads_for_task, &thread_count))
845 for (unsigned int i = 0; i < thread_count; ++i) {
  /external/gemmlowp/internal/
multi_thread_gemm.h 529 int thread_count = std::min(max_count, CeilQuotient(rows, MinRowsPerThread)); local
531 // At this point for small products we already have thread_count==1 so
535 if (thread_count > 1) {
543 thread_count =
544 std::min(thread_count, int(cubic_size / min_cubic_size_per_thread));
546 if (thread_count < 1) {
547 thread_count = 1;
551 assert(thread_count > 0 && thread_count <= max_count);
552 return thread_count;
582 const int thread_count = local
    [all...]
  /external/opencv/cv/src/
cvdistransform.cpp 456 int thread_count = cvGetNumThreads(); local
471 // sqr_tab: 2*m, sat_tab: 3*m + 1, d: m*thread_count,
472 pass1_sz = src->rows*(5 + thread_count) + 1;
474 // sqr_tab & inv_tab: n each; f & v: n*thread_count each; z: (n+1)*thread_count
475 pass2_sz = src->cols*(2 + thread_count*3) + thread_count;
497 #pragma omp parallel for num_threads(thread_count)
535 #pragma omp parallel for num_threads(thread_count) schedule(dynamic)

Completed in 340 milliseconds

1 2