Searched refs:num_threads_ (Results 1 – 11 of 11) sorted by relevance
/external/chromium_org/native_client_sdk/src/libraries/sdk_util/ |
D | thread_pool.cc | 19 : threads_(NULL), counter_(0), num_threads_(num_threads), exiting_(false), in ThreadPool() 21 if (num_threads_ > 0) { in ThreadPool() 33 threads_ = new pthread_t[num_threads_]; in ThreadPool() 34 for (int i = 0; i < num_threads_; i++) { in ThreadPool() 46 if (num_threads_ > 0) { in ~ThreadPool() 74 for (int i = 0; i < num_threads_; ++i) in PostExitAndJoinAll() 77 for (int i = 0; i < num_threads_; ++i) in PostExitAndJoinAll() 112 for (int i = 0; i < num_threads_; i++) in DispatchMany() 118 for (int i = 0; i < num_threads_; i++) in DispatchMany() 133 if (num_threads_ > 0) in Dispatch()
|
D | thread_pool.h | 41 const int num_threads_; variable
|
/external/chromium_org/base/threading/ |
D | simple_thread.cc | 89 num_threads_(num_threads), in DelegateSimpleThreadPool() 101 for (int i = 0; i < num_threads_; ++i) { in Start() 112 AddWork(NULL, num_threads_); in JoinAll() 115 for (int i = 0; i < num_threads_; ++i) { in JoinAll()
|
D | simple_thread.h | 181 int num_threads_; variable
|
/external/ceres-solver/internal/ceres/ |
D | schur_eliminator.h | 222 : num_threads_(options.num_threads) { in SchurEliminator() 344 int num_threads_; variable
|
D | schur_eliminator_impl.h | 152 if (num_threads_ > 1) { in Init() 156 buffer_.reset(new double[buffer_size_ * num_threads_]); in Init() 161 chunk_outer_product_buffer_.reset(new double[buffer_size_ * num_threads_]); in Init() 188 #pragma omp parallel for num_threads(num_threads_) schedule(dynamic) in Eliminate() 222 #pragma omp parallel for num_threads(num_threads_) schedule(dynamic) in Eliminate() 310 #pragma omp parallel for num_threads(num_threads_) schedule(dynamic) in BackSubstitute()
|
/external/chromium_org/native_client_sdk/src/gonacl_appengine/src/voronoi/ |
D | voronoi.cc | 135 int num_threads_; member in Voronoi 162 Voronoi::Voronoi() : num_regions_(kDefaultNumRegions), num_threads_(0), in Voronoi() 166 workers_ = new ThreadPool(num_threads_); in Voronoi()
|
/external/chromium_org/native_client_sdk/src/examples/demo/voronoi/ |
D | voronoi.cc | 143 int num_threads_; member in Voronoi 173 Voronoi::Voronoi() : num_regions_(kDefaultNumRegions), num_threads_(0), in Voronoi() 178 workers_ = new ThreadPool(num_threads_); in Voronoi()
|
/external/chromium_org/native_client_sdk/src/examples/demo/earth/ |
D | earth.cc | 267 int num_threads_; member in Planet 348 Planet::Planet() : base_tex_(NULL), night_tex_(NULL), num_threads_(0), in Planet() 354 workers_ = new ThreadPool(num_threads_); in Planet()
|
/external/chromium_org/native_client_sdk/src/examples/demo/earth_simd/ |
D | earth.cc | 315 int num_threads_; member in Planet 396 Planet::Planet() : base_tex_(NULL), night_tex_(NULL), num_threads_(0), in Planet() 402 workers_ = new ThreadPool(num_threads_); in Planet()
|
/external/chromium_org/native_client_sdk/src/gonacl_appengine/src/earth/ |
D | earth.cc | 279 int num_threads_; member in Planet 393 num_threads_ = 0; in Planet() 394 workers_ = new ThreadPool(num_threads_); in Planet()
|