/external/libcxx/utils/google-benchmark/src/ |
benchmark.cc | 63 "used by all threads that make up the test. For real-time " 66 "threads."); 231 // Report the total iterations across all threads. 232 report.iterations = static_cast<int64_t>(iters) * b.threads; 258 internal::Finish(&report.counters, seconds, b.threads); 269 State st(iters, b->arg, thread_id, b->threads, &timer, manager); 295 std::vector<std::thread> pool(b.threads - 1); 308 manager.reset(new internal::ThreadManager(b.threads)); 323 results.real_time_used /= b.threads; 324 results.manual_time_used /= b.threads; [all...] |
/prebuilts/go/darwin-x86/src/runtime/debug/ |
garbage.go | 118 // threads that the Go program can use. If it attempts to use more than 121 // The initial setting is 10,000 threads. 123 // The limit controls the number of operating system threads, not the number 125 // is ready to run but all the existing threads are blocked in system calls, cgo calls, 129 // programs that create an unbounded number of threads. The idea is 131 func SetMaxThreads(threads int) int { 132 return setMaxThreads(threads)
|
/prebuilts/go/linux-x86/src/runtime/debug/ |
garbage.go | 118 // threads that the Go program can use. If it attempts to use more than 121 // The initial setting is 10,000 threads. 123 // The limit controls the number of operating system threads, not the number 125 // is ready to run but all the existing threads are blocked in system calls, cgo calls, 129 // programs that create an unbounded number of threads. The idea is 131 func SetMaxThreads(threads int) int { 132 return setMaxThreads(threads)
|
/frameworks/base/tests/CoreTests/android/core/ |
TestWebServer.java | 41 /* Where worker threads stand idle */ 42 Vector threads = new Vector(); field in class:TestWebServer 44 /* List of all active worker threads */ 50 /* max # worker threads */ 216 * The AcceptThread is responsible for initiating worker threads 264 synchronized (threads) { 265 if (threads.isEmpty()) { 271 w = (Worker) threads.elementAt(0); 272 threads.removeElementAt(0); 298 // Stop worker threads from continuin [all...] |
/external/valgrind/coregrind/ |
m_main.c | 191 " --fair-sched=no|yes|try schedule threads fairly on multicore systems [no]\n" 225 " --max-threads=<number> maximum number of threads that valgrind can\n" 368 - set VG_(clo_max_threads) (--max-threads) 412 else if VG_INT_CLO(str, "--max-threads", VG_(clo_max_threads)) {} 539 else if VG_STREQN(14, arg, "--max-threads=") {} [all...] |
m_signals.c | 65 SIGVGKILL is used to terminate threads. When one thread wants 149 something worse: dealing with signals delivered to threads in [all...] |
/development/tools/bugreport/src/com/android/bugreport/stacks/ |
ProcessSnapshotParser.java | 112 result.threads.add(snapshot); 131 System.out.println("threads=" + result.threads.size());
|
/external/chromium-trace/catapult/systrace/atrace_helper/jni/ |
procfs_utils.cc | 79 if (process->threads.count(tid)) 87 process->threads[tid] = thread;
|
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
TensorCostModel.h | 18 * \brief A cost model used to limit the number of threads used for evaluating 171 // Returns the number of threads in [1:max_threads] to use for 177 int threads = (cost - kStartupCycles) / kPerThreadCycles + 0.9; local 178 return numext::mini(max_threads, numext::maxi(1, threads)); 197 // either because we are probably using all available threads already).
|
/external/libvpx/libvpx/test/ |
encode_perf_test.cc | 114 void set_threads(unsigned int threads) { threads_ = threads; } 179 printf("\t\"threads\" : %d\n", kEncodePerfTestThreads[k]);
|
test_vector_test.cc | 96 cfg.threads = std::tr1::get<kThreads>(input); 98 snprintf(str, sizeof(str) / sizeof(str[0]) - 1, "file: %s threads: %d", 99 filename.c_str(), cfg.threads); 139 // Test VP8 decode in with different numbers of threads. 146 ::testing::Range(2, 9), // With 2 ~ 8 threads. 168 ::testing::Range(2, 9), // With 2 ~ 8 threads.
|
/external/tensorflow/tensorflow/examples/how_tos/reading_data/ |
fully_connected_preloaded.py | 96 # Start input enqueue threads. 98 threads = tf.train.start_queue_runners(sess=sess, coord=coord) 132 # When done, ask the threads to stop. 135 # Wait for threads to finish. 136 coord.join(threads)
|
fully_connected_preloaded_var.py | 107 # Start input enqueue threads. 109 threads = tf.train.start_queue_runners(sess=sess, coord=coord) 143 # When done, ask the threads to stop. 146 # Wait for threads to finish. 147 coord.join(threads)
|
/external/v8/tools/gcmole/ |
bootstrap.sh | 104 --disable-threads \
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
ContactsDatabaseHelperTest.java | 232 * Try to cause conflicts in getMimeTypeId() by calling it from multiple threads with 258 final Thread[] threads = new Thread[NUM_THREADS]; local 259 for (int i = 0; i < threads.length; i++) { 260 threads[i] = new Thread(r); 261 threads[i].setDaemon(true); 263 for (int i = 0; i < threads.length; i++) { 264 threads[i].start(); 266 for (int i = 0; i < threads.length; i++) { 268 threads[i].join();
|
/prebuilts/go/darwin-x86/misc/cgo/testcshared/src/libgo4/ |
libgo4.go | 16 // The idea is to get some threads going, so that a signal will be delivered
|
/prebuilts/go/linux-x86/misc/cgo/testcshared/src/libgo4/ |
libgo4.go | 16 // The idea is to get some threads going, so that a signal will be delivered
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/utils/google-benchmark/src/ |
benchmark.cc | 63 "used by all threads that make up the test. For real-time " 66 "threads."); 229 // Report the total iterations across all threads. 230 report.iterations = static_cast<int64_t>(iters) * b.threads; 265 State st(iters, b->arg, thread_id, b->threads, &timer, manager); 291 std::vector<std::thread> pool(b.threads - 1); 304 manager.reset(new internal::ThreadManager(b.threads)); 319 results.real_time_used /= b.threads; 320 results.manual_time_used /= b.threads; 406 threads(n_threads) [all...] |
/external/tensorflow/tensorflow/python/kernel_tests/random/ |
random_shuffle_queue_test.py | 106 threads = [ 110 for thread in threads: 112 for thread in threads: 138 threads = [self.checkedThread(target=dequeue) for _ in enqueue_ops] 139 for thread in threads: 141 for thread in threads: 443 # Enqueue 100 items in parallel on 10 threads. 447 threads = [self.checkedThread(target=enqueue) for _ in range(10)] 448 for thread in threads: 450 for thread in threads [all...] |
/art/test/924-threads/ |
threads.cc | 152 jthread* threads; local 154 jvmtiError result = jvmti_env->GetAllThreads(&thread_count, &threads); 160 return threads[index]; 164 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(threads));
|
/cts/suite/audio_quality/test/ |
AudioPlayTestCommon.h | 21 #include <utils/threads.h>
|
AudioRecordPlayTestCommon.h | 22 #include <utils/threads.h>
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_socketserver.py | 259 threads = []
267 threads.append((t, s))
268 for t, s in threads:
271 for t, s in threads:
277 # If the import lock is held, the threads will hang
|
/device/linaro/bootloader/edk2/CryptoPkg/Library/OpensslLib/ |
process_files.sh | 57 no-threads \
|
/external/fio/ |
verify-state.h | 44 uint64_t threads; member in struct:all_io_list
|