Home
last modified time | relevance | path

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

/external/chromium_org/native_client_sdk/src/libraries/sdk_util/
Dthread_pool.cc19 : 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()
Dthread_pool.h41 const int num_threads_; variable
/external/chromium_org/base/threading/
Dsimple_thread.cc89 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()
Dsimple_thread.h181 int num_threads_; variable
/external/ceres-solver/internal/ceres/
Dschur_eliminator.h222 : num_threads_(options.num_threads) { in SchurEliminator()
344 int num_threads_; variable
Dschur_eliminator_impl.h152 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/
Dvoronoi.cc135 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/
Dvoronoi.cc143 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/
Dearth.cc267 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/
Dearth.cc315 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/
Dearth.cc279 int num_threads_; member in Planet
393 num_threads_ = 0; in Planet()
394 workers_ = new ThreadPool(num_threads_); in Planet()