HomeSort by relevance Sort by last modified time
    Searched refs:num_threads (Results 26 - 50 of 323) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/libvpx/libvpx/test/
vp9_skip_loopfilter_test.cc 36 void Init(int num_threads) {
45 if (num_threads > 0) cfg.threads = num_threads;
122 const int num_threads = 0; local
124 skip_loop_filter.Init(num_threads);
132 const int num_threads = 1; local
134 skip_loop_filter.Init(num_threads);
142 const int num_threads = 8; local
144 skip_loop_filter.Init(num_threads);
152 const int num_threads = 0 local
162 const int num_threads = 0; local
    [all...]
  /build/kati/
thread_pool.cc 29 explicit ThreadPoolImpl(int num_threads) : is_waiting_(false) {
31 threads_.reserve(num_threads);
32 for (int i = 0; i < num_threads; i++) {
88 ThreadPool* NewThreadPool(int num_threads) {
89 return new ThreadPoolImpl(num_threads);
  /external/eigen/unsupported/Eigen/CXX11/src/Tensor/
TensorContractionBlocking.h 31 EIGEN_DEVICE_FUNC TensorContractionBlocking(Index k, Index m, Index n, Index num_threads = 1) :
35 computeProductBlockingSizes<LhsScalar, RhsScalar, 1>(kc_, mc_, nc_, num_threads);
38 computeProductBlockingSizes<LhsScalar, RhsScalar, 1>(kc_, nc_, mc_, num_threads);
  /external/tensorflow/tensorflow/core/lib/core/
threadpool.h 30 // Constructs a pool that contains "num_threads" threads with specified
38 // REQUIRES: num_threads > 0
40 int num_threads, bool low_latency_hint);
42 // Constructs a pool for low-latency ops that contains "num_threads" threads
45 // REQUIRES: num_threads > 0
46 ThreadPool(Env* env, const string& name, int num_threads);
48 // Constructs a pool for low-latency ops that contains "num_threads" threads
51 // REQUIRES: num_threads > 0
53 int num_threads);
blocking_counter_test.cc 52 static void BM_BlockingCounter(int iters, int num_threads,
56 new thread::ThreadPool(Env::Default(), "test", num_threads));
57 const int num_shards = num_threads * shards_per_thread;
61 for (int j = 0; j < num_threads; ++j) {
threadpool.cc 90 int num_threads, bool low_latency_hint)
92 num_threads, low_latency_hint,
106 ThreadPool::ThreadPool(Env* env, const string& name, int num_threads)
107 : ThreadPool(env, ThreadOptions(), name, num_threads, true) {}
110 const string& name, int num_threads)
111 : ThreadPool(env, thread_options, name, num_threads, true) {}
114 const string& name, int num_threads,
116 CHECK_GE(num_threads, 1);
118 num_threads, low_latency_hint));
  /external/google-breakpad/src/common/linux/tests/
crash_generator.h 69 // |num_threads| threads, and the terminating the child process by sending
72 bool CreateChildCrash(unsigned num_threads, unsigned crash_thread,
85 // Creates |num_threads| threads in the child process.
86 void CreateThreadsInChildProcess(unsigned num_threads);
  /external/libxml2/
testThreads.c 104 unsigned int num_threads = sizeof(testfiles) / sizeof(testfiles[0]); local
112 memset(results, 0, sizeof(*results)*num_threads);
113 memset(tid, 0xff, sizeof(*tid)*num_threads);
115 for (i = 0; i < num_threads; i++) {
123 for (i = 0; i < num_threads; i++) {
132 for (i = 0; i < num_threads; i++)
145 unsigned int num_threads = sizeof(testfiles) / sizeof(testfiles[0]); local
155 for (i = 0; i < num_threads; i++) {
160 for (i = 0; i < num_threads; i++) {
168 for (i = 0; i < num_threads; i++)
    [all...]
testThreadsWin32.c 89 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++) {
  /art/test/1944-sudden-exit/src/art/
Test1944.java 42 private static int num_threads = 10; field in class:Test1944
45 final Semaphore started = new Semaphore(-(num_threads - 1));
52 Thread[] threads = new Thread[num_threads];
53 for (int i = 0; i < num_threads; i++) {
  /external/google-benchmark/src/
counter.cc 20 double Finish(Counter const& c, double cpu_time, double num_threads) {
26 v /= num_threads;
31 void Finish(UserCounters *l, double cpu_time, double num_threads) {
33 c.second.value = Finish(c.second, cpu_time, num_threads);
  /external/google-breakpad/src/client/linux/minidump_writer/
linux_dumper_unittest_helper.cc 80 int num_threads = atoi(argv[2]); local
81 if (num_threads < 1) {
85 google_breakpad::scoped_array<pthread_t> threads(new pthread_t[num_threads]);
89 for (int i = 1; i < num_threads; i++) {
  /external/libcxx/utils/google-benchmark/src/
counter.cc 20 double Finish(Counter const& c, double cpu_time, double num_threads) {
26 v /= num_threads;
31 void Finish(UserCounters *l, double cpu_time, double num_threads) {
33 c.second.value = Finish(c.second, cpu_time, num_threads);
  /external/tensorflow/tensorflow/contrib/tensor_forest/kernels/
reinterpret_string_to_float_op.cc 66 int num_threads = worker_threads->num_threads; variable
67 if (num_threads <= 1) {
76 Shard(num_threads, worker_threads->workers, num_data, 100, work);
  /external/valgrind/drd/tests/
omp_prime.c 42 int num_threads = 2; local
55 num_threads = atoi(optarg);
76 assert(num_threads >= 1);
81 omp_set_num_threads(num_threads);
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/utils/google-benchmark/src/
counter.cc 20 double Finish(Counter const& c, double cpu_time, double num_threads) {
26 v /= num_threads;
31 void Finish(UserCounters *l, double cpu_time, double num_threads) {
33 c.second = Finish(c.second, cpu_time, num_threads);
  /art/runtime/
thread_pool_test.cc 56 static int32_t num_threads; member in class:art::ThreadPoolTest
59 int32_t ThreadPoolTest::num_threads = 4; member in class:art::ThreadPoolTest
64 ThreadPool thread_pool("Thread pool test thread pool", num_threads);
66 static const int32_t num_tasks = num_threads * 4;
79 ThreadPool thread_pool("Thread pool test thread pool", num_threads);
81 static const int32_t num_tasks = num_threads * 4;
104 ThreadPool thread_pool("Thread pool test thread pool", num_threads);
107 static const int32_t num_tasks = num_threads * 100;
154 ThreadPool thread_pool("Thread pool test thread pool", num_threads);
  /external/autotest/client/tests/ebizzy/
ebizzy.py 24 seconds=100, num_threads=100):
30 seconds, num_threads)
  /external/ltp/testcases/kernel/io/stress_cd/
stress_cd.c 50 static int num_threads = DEFAULT_NUM_THREADS; variable
74 printf("\tThread [main] Creating %d threads\n", num_threads);
76 pthread_t array[num_threads];
77 int arg[num_threads];
79 for (i = 0; i < num_threads; i++) {
99 for (i = 0; i < num_threads; i++) {
211 num_threads = atoi(optarg);
222 if (num_threads < 0) {
224 fprintf(stderr, "ERROR: num_threads must be greater than 0");
  /external/mesa3d/src/gallium/auxiliary/util/
u_queue.h 65 unsigned num_threads; member in struct:util_queue
78 unsigned num_threads);
  /external/tensorflow/tensorflow/contrib/lite/kernels/
gemm_support.cc 61 void SetMaxNumThreads(TfLiteContext* context, int num_threads) {
63 GetFromContext(context)->set_max_num_threads(num_threads);
  /external/ltp/testcases/kernel/sched/pthreads/
pth_str02.c 46 #define USAGE "\nUsage: %s [-l | -n num_threads] [-d]\n\n" \
48 "\t-n num_threads Number of threads to create\n" \
68 int num_threads = DEFAULT_NUM_THREADS; variable
92 tst_resm(TINFO, "Creating %d threads", num_threads);
107 | Function: Recursively creates threads while num < num_threads |
119 * Create threads while num < num_threads...
121 if (test_limit || (num < num_threads)) {
184 num_threads = atoi(optarg);
  /external/autotest/client/common_lib/
decorators_unittest.py 31 num_threads = 20
39 for i in xrange(num_threads)]
44 self.assertEquals(iters * num_threads, self.count)
  /external/compiler-rt/test/asan/TestCases/Linux/
stress_dtls.c 73 int num_threads = 1; local
76 num_threads = atoi(argv[1]);
100 for (i = 0; i < num_threads; i++) {
  /external/tensorflow/tensorflow/contrib/lite/tools/
benchmark_model.cc 48 const std::string& input_layer_type, int num_threads) {
71 if (num_threads != -1) {
72 interpreter->SetNumThreads(num_threads);

Completed in 1714 milliseconds

12 3 4 5 6 7 8 91011>>