/frameworks/native/libs/vr/libpdx_default_transport/ |
pdx_benchmarks.cpp | 173 int threads = 1; member in struct:Options 189 const char kOptionThreads[] = "threads"; 508 // Start the requested number of dispatch threads. 528 int thread_count = ProgramOptions.threads; 564 // Wait for the dispatch threads to exit. 573 // Start the requested number of client threads. 580 // Aggregate statistics, updated when worker threads exit. 586 ProgramOptions.instances * ProgramOptions.threads * ProgramOptions.count); 602 int thread_count = ProgramOptions.threads; 867 // Signal worker threads to exit [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/ |
CharsetTest.java | 108 ArrayList<Thread> threads = new ArrayList<Thread>(); local 117 threads.add(t); 120 for (Thread t : threads) { 123 for (Thread t : 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();
|
/system/core/libbacktrace/ |
backtrace_test.cpp | 51 #include <cutils/threads.h> 69 // Number of simultaneous threads running in our forked process. 463 // Create a process with multiple threads and dump all of the threads. 469 static void GetThreads(pid_t pid, std::vector<pid_t>* threads) { 481 threads->push_back(tid); 501 // Check to see that all of the threads are running before unwinding. 502 std::vector<pid_t> threads; local 506 threads.clear(); 507 GetThreads(pid, &threads); [all...] |
/system/extras/simpleperf/ |
cmd_record.cpp | 98 "Select monitored threads:\n" 107 "-t tid1,tid2,... Record events on existing threads. Mutually exclusive with -a.\n" 121 "--trace-offcpu Generate samples when threads are scheduled off cpu.\n" 164 "--no-inherit Don't record created child threads/processes.\n" 401 << "No threads to monitor. Try `simpleperf help record` for help"; 787 LOG(ERROR) << "Record system wide and existing processes/threads can't be " 994 std::vector<pid_t> threads = GetThreadsInProcess(pid); local [all...] |
/system/tools/hidl/test/hidl_test/ |
hidl_test_client.cpp | 1822 std::vector<std::future<bool>> threads; local [all...] |
/art/runtime/gc/allocator/ |
rosalloc.cc | 1842 std::list<Thread*> threads = Runtime::Current()->GetThreadList()->GetList(); local [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/ |
VmMirror.java | 684 int threads = -1; local 686 // Get All Threads IDs 690 threads = request.getNextValueAsInt(); 691 for (int i = 0; i < threads; i++) { [all...] |
/external/fio/ |
init.c | 46 struct thread_data *threads = NULL; variable in typeref:struct:thread_data 278 if (threads) { 279 void *tp = threads; 283 threads = NULL; 288 threads = NULL; 296 if (threads) { 315 * threads/processes. So setup a shared memory segment that will hold 321 if (threads) 342 threads = malloc(size); 343 if (threads) [all...] |
/external/honggfuzz/ |
honggfuzz.h | 49 /* Default stack-size of created threads. */ 71 /* Maximum number of active fuzzing threads */ 203 } threads; member in struct:__anon21192
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
TimeZoneFormatTest.java | 1108 List<Thread> threads = new ArrayList<Thread>(); local [all...] |
DateFormatRegressionTest.java | 1505 Thread[] threads = new Thread[10]; local [all...] |
/external/icu/icu4c/source/test/intltest/ |
tsmthred.cpp | 146 // TestThreads -- see if threads really work at all. 148 // Set up N threads pointing at N chars. When they are started, they will 169 SimpleThread *threads[THREADTEST_NRTHREADS]; local 176 threads[i] = new TestThreadsThread(&threadTestChars[i]); 180 logln("->" + UnicodeString(threadTestChars) + "<- Firing off threads.. "); 183 if (threads[i]->start() != 0) { 193 errln("Not all threads could be started for testing!"); 197 logln("Waiting for threads to be set.."); 199 threads[i]->join(); 203 delete threads[i] 276 TestArabicShapeThreads threads[30]; local 356 TestMutexThread threads[TESTMUTEX_THREAD_COUNT]; local 1218 TxThread threads[4]; local 1291 CondThread *threads[NUMTHREADS]; local 1474 UnifiedCacheThread *threads[CACHE_LOAD][UPRV_LENGTHOF(gCacheLocales)]; local 1561 BreakTranslitThread threads[4]; local [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
TimeZoneFormatTest.java | 1105 List<Thread> threads = new ArrayList<Thread>(); local [all...] |
DateFormatRegressionTest.java | 1502 Thread[] threads = new Thread[10]; local [all...] |
/external/libchrome/base/trace_event/ |
trace_event_unittest.cc | 1754 Thread* threads[num_threads]; local 1796 Thread* threads[kNumThreads]; local [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_compiler.h | 455 unsigned threads; member in struct:brw_cs_prog_data
|
/external/oj-libjdwp/src/share/back/ |
threadControl.c | 115 * Threads which have issued thread start events and not yet issued thread 116 * end events are maintained in the "runningThreads" list. All other threads known 201 * It assumed that this logic is never dealing with terminated threads, 221 * These functions maintain the linked list of currently running threads. 234 * any threads that we could match. 340 * If there is a pending suspendAll, all new threads should 353 * Some threads may not be in a state that allows setting of TLS, 354 * which is ok, see findThread, it deals with threads without TLS set. 540 * code to safely suspend and resume the application threads 759 * to suspend threads while any thread is within 816 jthread *threads; local 1512 jthread *threads; local [all...] |
util.c | 658 filterDebugThreads(jthread *threads, int count) 663 /* Squish out all of the debugger-spawned threads */ 665 jthread thread = threads[i]; 668 threads[current] = thread; 913 * Debugger threads need cycles in all sorts of strange 917 * that debugger threads will be starved. (There needs to be 918 * a way to give debugger threads a priority higher than any 1036 * 1) for running application threads by deferring the interrupt 1039 * 2) for debugger threads by ignoring the interrupt; this is the 1040 * most robust solution since debugger threads don't use interrupt 1217 jthread *threads; local [all...] |
/external/perf_data_converter/src/quipper/ |
perf_reader.cc | 1695 std::vector<string>& threads = cpu_topology.thread_siblings; local [all...] |
/libcore/luni/src/test/java/libcore/java/lang/invoke/ |
MethodHandleCombinersTest.java | 1678 final Thread threads [] = new Thread [threadCount]; local [all...] |
/libcore/ojluni/src/main/java/java/lang/ |
Thread.java | 49 * Virtual Machine allows an application to have multiple threads of 52 * Every thread has a priority. Threads with higher priority are 53 * executed in preference to threads with lower priority. Each thread 63 * Machine continues to execute threads until either of the following 69 * <li>All threads that are not daemon threads have died, either by 182 /* For autonumbering anonymous threads. */ 284 * between threads that would otherwise over-utilise a CPU. Its use 528 // Must be tolerant of threads without a name. 534 // by the runtime to construct peers for threads that have attached via JNI and it' 1583 Thread[] threads = new Thread[count + count \/ 2]; local [all...] |
/art/tools/dmtracedump/ |
tracedump.cc | 189 ThreadEntry* threads; member in struct:DataKeys 516 delete[] pKeys->threads; 632 * Parse the "*threads" section. 639 int32_t next = checkToken(data, dataEnd - data, "threads"); 648 fprintf(stderr, "ERROR: failed while reading threads (found %d)\n", count); 652 // printf("+++ found %d threads\n", count); 653 pKeys->threads = new ThreadEntry[count]; 654 if (pKeys->threads == nullptr) return -1; 667 pKeys->threads[i].threadId = atoi(data); 668 pKeys->threads[i].threadName = data + tab + 1 [all...] |
/external/deqp/external/vulkancts/modules/vulkan/api/ |
vktApiObjectManagementTests.cpp | 85 * Thread group manages collection of threads that are expected to be 90 * an exception is safe, and other threads will continue execution. The 99 * threads. 2456 ThreadGroup threads; local 2475 ThreadGroup threads; local 2522 ThreadGroup threads; local [all...] |
/external/libvpx/libvpx/ |
vpxenc.c | 232 static const arg_def_t threads = variable 233 ARG_DEF("t", "threads", 1, "Max number of threads to use"); 263 &threads, 413 "Number of tile rows to use, log2 (set to 0 while threads > 1)"); [all...] |