Searched defs:num_threads (Results 1 - 25 of 72) sorted by relevance

123

/external/ceres-solver/internal/ceres/
H A Dcompressed_row_jacobian_writer.h91 ScratchEvaluatePreparer* CreateEvaluatePreparers(int num_threads) { argument
92 return ScratchEvaluatePreparer::Create(*program_, num_threads);
H A Dscratch_evaluate_preparer.cc42 int num_threads) {
43 ScratchEvaluatePreparer* preparers = new ScratchEvaluatePreparer[num_threads];
46 for (int i = 0; i < num_threads; i++) {
40 Create( const Program &program, int num_threads) argument
H A Ddynamic_compressed_row_jacobian_writer.cc43 DynamicCompressedRowJacobianWriter::CreateEvaluatePreparers(int num_threads) { argument
44 return ScratchEvaluatePreparer::Create(*program_, num_threads);
H A Devaluator.h62 : num_threads(1),
67 int num_threads; member in struct:ceres::internal::Evaluator::Options
85 // The parallelism of the evaluator is controlled by num_threads; it
96 int num_threads,
H A Ddense_jacobian_writer.h59 ScratchEvaluatePreparer* CreateEvaluatePreparers(int num_threads) { argument
60 return ScratchEvaluatePreparer::Create(*program_, num_threads);
H A Dpreconditioner.h54 num_threads(1),
65 int num_threads; member in struct:ceres::internal::Preconditioner::Options
H A Dblock_jacobian_writer.cc138 int num_threads) {
142 BlockEvaluatePreparer* preparers = new BlockEvaluatePreparer[num_threads];
143 for (int i = 0; i < num_threads; i++) {
137 CreateEvaluatePreparers( int num_threads) argument
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/
H A Dlp_screen.h52 unsigned num_threads; member in struct:llvmpipe_screen
/external/chromium_org/third_party/tcmalloc/chromium/src/base/
H A Dthread_lister.c73 int ResumeAllProcessThreads(int num_threads, pid_t *thread_pids) { argument
/external/chromium_org/third_party/tcmalloc/vendor/src/base/
H A Dthread_lister.c73 int ResumeAllProcessThreads(int num_threads, pid_t *thread_pids) { argument
/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_screen.h52 unsigned num_threads; member in struct:llvmpipe_screen
/external/ceres-solver/include/ceres/
H A Dcovariance.h211 num_threads(1),
318 int num_threads; member in struct:ceres::Covariance::Options
H A Dproblem.h385 num_threads(1) {
423 int num_threads; member in struct:ceres::Problem::EvaluateOptions
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/
H A Dprofiler_unittest.cc35 // the num_threads argument to this program is ingored).
83 fprintf(stderr, "USAGE: %s <iters> [num_threads] [filename]\n", argv[0]);
85 fprintf(stderr, " num_threads: how many concurrent threads.\n");
95 int num_threads = 1; local
98 num_threads = atoi(argv[2]);
113 RunManyThreads(test_other_thread, num_threads);
118 for (; num_threads < 0; ++num_threads) { // -<num_threads> to fork
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/
H A Dprofiler_unittest.cc35 // the num_threads argument to this program is ingored).
83 fprintf(stderr, "USAGE: %s <iters> [num_threads] [filename]\n", argv[0]);
85 fprintf(stderr, " num_threads: how many concurrent threads.\n");
95 int num_threads = 1; local
98 num_threads = atoi(argv[2]);
113 RunManyThreads(test_other_thread, num_threads);
118 for (; num_threads < 0; ++num_threads) { // -<num_threads> to fork
/external/compiler-rt/test/lsan/TestCases/
H A Dhigh_allocator_contention.cc10 int num_threads; variable
23 for (int i = 0; i < total_num_alloc / num_threads; i++) {
33 num_threads = atoi(argv[1]);
34 assert(num_threads > 0);
35 assert(num_threads <= kMaxNumThreads);
38 printf("%d threads, %d allocations in each\n", num_threads,
39 total_num_alloc / num_threads);
40 for (int i = 0; i < num_threads; i++)
46 for (int i = 0; i < num_threads; i++) pthread_join(tid[i], 0);
/external/valgrind/main/drd/tests/
H A Domp_prime.c42 int num_threads = 2; local
55 num_threads = atoi(optarg);
76 assert(num_threads >= 1);
81 omp_set_num_threads(num_threads);
H A Domp_printf.c27 int num_threads = 2; local
36 case 't': num_threads = atoi(optarg); break;
47 assert(num_threads > 0);
49 omp_set_num_threads(num_threads);
/external/chromium_org/third_party/libxml/src/
H A DtestThreads.c100 unsigned int num_threads = sizeof(testfiles) / sizeof(testfiles[0]); local
108 for (i = 0; i < num_threads; i++) {
113 for (i = 0; i < num_threads; i++) {
121 for (i = 0; i < num_threads; i++) {
130 for (i = 0; i < num_threads; i++)
143 unsigned int num_threads = sizeof(testfiles) / sizeof(testfiles[0]); local
153 for (i = 0; i < num_threads; i++) {
158 for (i = 0; i < num_threads; i++) {
166 for (i = 0; i < num_threads; i++) {
177 for (i = 0; i < num_threads;
[all...]
H A DtestThreadsWin32.c89 unsigned int num_threads = sizeof(testfiles) / sizeof(testfiles[0]); local
98 for (i = 0; i < num_threads; i++)
104 for (i = 0; i < num_threads; i++)
116 if (WaitForMultipleObjects (num_threads, tid, TRUE, INFINITE) == WAIT_FAILED)
119 for (i = 0; i < num_threads; i++)
131 for (i = 0; i < num_threads; i++) {
/external/chromium_org/base/threading/
H A Dsimple_thread.cc87 int num_threads)
89 num_threads_(num_threads),
85 DelegateSimpleThreadPool( const std::string& name_prefix, int num_threads) argument
/external/chromium_org/native_client_sdk/src/libraries/sdk_util/
H A Dthread_pool.cc17 // num_threads, all work will be performed on the dispatch thread.
18 ThreadPool::ThreadPool(int num_threads) argument
19 : threads_(NULL), counter_(0), num_threads_(num_threads), exiting_(false),
/external/compiler-rt/test/asan/TestCases/Linux/
H A Dstress_dtls.c72 int num_threads = 1; local
75 num_threads = atoi(argv[1]);
99 for (i = 0; i < num_threads; i++) {
/external/libvpx/libvpx/test/
H A Dvp9_thread_test.cc100 // Decodes |filename| with |num_threads|. Returns the md5 of the decoded frames.
101 string DecodeFile(const string& filename, int num_threads) { argument
106 cfg.threads = num_threads;
/external/chromium_org/third_party/libvpx/source/libvpx/test/
H A Dvp9_thread_test.cc161 // Decodes |filename| with |num_threads|. Returns the md5 of the decoded frames.
162 string DecodeFile(const string& filename, int num_threads) { argument
167 cfg.threads = num_threads;

Completed in 1307 milliseconds

123