Searched refs:num_threads_ (Results 1 - 11 of 11) sorted by relevance

/external/chromium_org/native_client_sdk/src/libraries/sdk_util/
H A Dthread_pool.cc19 : threads_(NULL), counter_(0), num_threads_(num_threads), exiting_(false),
21 if (num_threads_ > 0) {
33 threads_ = new pthread_t[num_threads_];
34 for (int i = 0; i < num_threads_; i++) {
46 if (num_threads_ > 0) {
74 for (int i = 0; i < num_threads_; ++i)
77 for (int i = 0; i < num_threads_; ++i)
112 for (int i = 0; i < num_threads_; i++)
118 for (int i = 0; i < num_threads_; i++)
133 if (num_threads_ >
[all...]
H A Dthread_pool.h41 const int num_threads_; member in class:sdk_util::ThreadPool
/external/chromium_org/base/threading/
H A Dsimple_thread.cc89 num_threads_(num_threads),
101 for (int i = 0; i < num_threads_; ++i) {
112 AddWork(NULL, num_threads_);
115 for (int i = 0; i < num_threads_; ++i) {
H A Dsimple_thread.h181 int num_threads_; member in class:base::DelegateSimpleThreadPool
/external/ceres-solver/internal/ceres/
H A Dschur_eliminator.h222 : num_threads_(options.num_threads) {
344 int num_threads_; member in class:ceres::internal::SchurEliminator
H A Dschur_eliminator_impl.h152 if (num_threads_ > 1) {
156 buffer_.reset(new double[buffer_size_ * num_threads_]);
161 chunk_outer_product_buffer_.reset(new double[buffer_size_ * num_threads_]);
188 #pragma omp parallel for num_threads(num_threads_) schedule(dynamic)
222 #pragma omp parallel for num_threads(num_threads_) schedule(dynamic)
310 #pragma omp parallel for num_threads(num_threads_) schedule(dynamic)
/external/chromium_org/native_client_sdk/src/examples/demo/voronoi/
H A Dvoronoi.cc143 int num_threads_; member in class:Voronoi
173 Voronoi::Voronoi() : num_regions_(kDefaultNumRegions), num_threads_(0),
178 workers_ = new ThreadPool(num_threads_);
/external/chromium_org/native_client_sdk/src/gonacl_appengine/src/voronoi/
H A Dvoronoi.cc135 int num_threads_; member in class:Voronoi
162 Voronoi::Voronoi() : num_regions_(kDefaultNumRegions), num_threads_(0),
166 workers_ = new ThreadPool(num_threads_);
/external/chromium_org/native_client_sdk/src/examples/demo/earth/
H A Dearth.cc267 int num_threads_; member in class:Planet
348 Planet::Planet() : base_tex_(NULL), night_tex_(NULL), num_threads_(0),
354 workers_ = new ThreadPool(num_threads_);
/external/chromium_org/native_client_sdk/src/examples/demo/earth_simd/
H A Dearth.cc315 int num_threads_; member in class:Planet
396 Planet::Planet() : base_tex_(NULL), night_tex_(NULL), num_threads_(0),
402 workers_ = new ThreadPool(num_threads_);
/external/chromium_org/native_client_sdk/src/gonacl_appengine/src/earth/
H A Dearth.cc279 int num_threads_; member in class:Planet
393 num_threads_ = 0;
394 workers_ = new ThreadPool(num_threads_);

Completed in 3053 milliseconds