/external/linux-tools-perf/Documentation/ |
perf-sched.txt | 27 via perf sched record. (this is done by starting up mockup threads 29 threads can then replay the timings (CPU runtime and sleep patterns)
|
/external/webkit/Source/JavaScriptCore/runtime/ |
JSLock.cpp | 36 // automatically protected against concurrent access from multiple threads. 133 // This is fairly nasty. We allow multiple threads to run on the same 135 // clients of the API may simply use the context from multiple threads 143 // All threads using the context share the same JS stack (the RegisterFile). 148 // to a callback, we can be left with stackframes from both threads in the 155 // threads to use a JS context concurrently, and only allowing the second of 156 // these threads to execute until it has completed and fully returned from its 168 // we could validly allow futher entries into JSC from other threads, we only
|
/sdk/emulator/qtools/ |
dmtrace.cpp | 18 static char *keyThreadHeader = "*threads\n"; 25 threads = new std::vector<ThreadRecord*>; 30 delete threads; 214 threads->push_back(rec); 221 for (iter = threads->begin(); iter != threads->end(); ++iter) { 242 for (iter = threads->begin(); iter != threads->end(); ++iter) {
|
/sdk/emulator/qtools/tests/ |
macros.h | 44 /* dump name and path of threads executed before trace device created */ 50 /* dump exec mapping of threads executed before trace device created */
|
/system/core/libcutils/ |
threads.c | 1 /* libs/cutils/threads.c 17 #include <cutils/threads.h>
|
/external/valgrind/main/coregrind/m_scheduler/ |
scheduler.c | 38 There are no extra threads. 149 /* CPU semaphore, so that threads can run exclusively */ 214 if (VG_(threads)[i].status == VgTs_Empty) { 215 VG_(threads)[i].status = VgTs_Init; 216 VG_(threads)[i].exitreason = VgSrc_None; 335 vg_assert(VG_(threads)[tid].exitreason != VgSrc_None); 351 if (VG_(threads)[tid].status == VgTs_WaitSys) { 355 tid, VG_(threads)[tid].os_state.lwpid); 363 thread_abort(VG_(threads)[tid].os_state.lwpid); 368 Int r = VG_(tkill)(VG_(threads)[tid].os_state.lwpid, VG_SIGVGKILL) [all...] |
/external/qemu/distrib/sdl-1.2.12/src/thread/dc/ |
SDL_syscond.c | 79 /* Restart one of the threads that are waiting on the condition variable */ 87 /* If there are waiting threads not already signalled, then 103 /* Restart all threads that are waiting on the condition variable */ 111 /* If there are waiting threads not already signalled, then 123 /* Now all released threads are blocked here, waiting for us. 168 are waiting threads.
|
/external/qemu/distrib/sdl-1.2.12/src/thread/generic/ |
SDL_syscond.c | 79 /* Restart one of the threads that are waiting on the condition variable */ 87 /* If there are waiting threads not already signalled, then 103 /* Restart all threads that are waiting on the condition variable */ 111 /* If there are waiting threads not already signalled, then 123 /* Now all released threads are blocked here, waiting for us. 168 are waiting threads.
|
/external/qemu/distrib/sdl-1.2.12/src/thread/os2/ |
SDL_syscond.c | 79 /* Restart one of the threads that are waiting on the condition variable */ 87 /* If there are waiting threads not already signalled, then 103 /* Restart all threads that are waiting on the condition variable */ 111 /* If there are waiting threads not already signalled, then 123 /* Now all released threads are blocked here, waiting for us. 168 are waiting threads.
|
/external/valgrind/unittest/ |
libstdc++_tests.cc | 90 // start threads. 94 // wait for threads to copy 's', but don't wait for threads to exit. 153 // start threads. 157 // wait for threads to copy 's', but don't wait for threads to exit.
|
/packages/apps/Mms/src/com/android/mms/ui/ |
ConversationList.java | 62 import android.provider.Telephony.Threads; 195 // Dang, one or more of the threads are over the limit. Show an activity 208 // No threads were over the limit. Turn on the recycler by default. 262 // onNewIntent(), and when we delete threads or delete all in CMA or this activity. 269 // threads, don't invalidate the cache because we're in the process of building it. 309 Conversation.startQuery(mQueryHandler, UNREAD_THREADS_QUERY_TOKEN, Threads.READ + "=0"); 403 // The invalid threadId of -1 means all threads here. 555 * but first start a background query to see if any of the threads or thread 557 * @param threadId id of the thread to delete or -1 for all threads 570 * Start the process of putting up a dialog to confirm deleting threads, [all...] |
/external/guava/guava-tests/test/com/google/common/base/ |
SuppliersTest.java | 268 final Thread[] threads = new Thread[numThreads]; local 285 for (Thread thread : threads) { 301 "timed out waiting for other threads to block" + 315 threads[i] = new Thread() { 321 for (Thread t : threads) { 324 for (Thread t : threads) { 351 Thread[] threads = new Thread[numThreads]; local 353 threads[i] = new Thread() { 361 for (Thread t : threads) { 364 for (Thread t : threads) { [all...] |
/external/icu4c/test/intltest/ |
tsmthred.cpp | 194 // TestThreads -- see if threads really work at all. 196 // Set up N threads pointing at N chars. When they are started, they will 218 SimpleThread *threads[THREADTEST_NRTHREADS]; local 225 threads[i] = new TestThreadsThread(&threadTestChars[i]); 229 logln("->" + UnicodeString(threadTestChars) + "<- Firing off threads.. "); 232 if (threads[i]->start() != 0) { 242 logln("Waiting for threads to be set.."); 244 errln("No threads could be started for testing!"); 265 logln("->" + UnicodeString(threadTestChars) + "<- Got all threads! cya"); 268 delete threads[i] 339 TestMutexThread *threads[TESTMUTEX_THREAD_COUNT]; local [all...] |
/external/chromium-trace/src/tracing/ |
trace_event_importer_test.html | 43 var t = p.threads[53]; 72 var t = p.threads[1]; 103 var t = p.threads[1]; 119 var t = p.threads[1]; 137 var t = p.threads[1]; 145 // Slice that begins before min and ends after max of the other threads. 155 var t = p.threads[1]; 161 var t = p.threads[2]; 186 var t = p.threads[1]; 216 var t = p.threads[1] [all...] |
/external/chromium/testing/gtest/m4/ |
acx_pthread.m4 | 13 dnl @summary figure out how to build C programs using POSIX threads 15 dnl This macro figures out how to build C programs using POSIX threads. 16 dnl It sets the PTHREAD_LIBS output variable to the threads library and 31 dnl If you are only building threads programs, you may wish to use 42 dnl ACTION-IF-FOUND is a list of shell commands to run if a threads 74 # etcetera environment variables, and if threads linking works using 92 # We must check for the threads library under a number of different 108 # none: in case threads are in libc; should be tried before -Kthread and 110 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h) 111 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able [all...] |
/external/protobuf/gtest/m4/ |
acx_pthread.m4 | 13 dnl @summary figure out how to build C programs using POSIX threads 15 dnl This macro figures out how to build C programs using POSIX threads. 16 dnl It sets the PTHREAD_LIBS output variable to the threads library and 31 dnl If you are only building threads programs, you may wish to use 42 dnl ACTION-IF-FOUND is a list of shell commands to run if a threads 74 # etcetera environment variables, and if threads linking works using 92 # We must check for the threads library under a number of different 108 # none: in case threads are in libc; should be tried before -Kthread and 110 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h) 111 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able [all...] |
/external/protobuf/m4/ |
acx_pthread.m4 | 13 dnl @summary figure out how to build C programs using POSIX threads 15 dnl This macro figures out how to build C programs using POSIX threads. 16 dnl It sets the PTHREAD_LIBS output variable to the threads library and 31 dnl If you are only building threads programs, you may wish to use 42 dnl ACTION-IF-FOUND is a list of shell commands to run if a threads 74 # etcetera environment variables, and if threads linking works using 92 # We must check for the threads library under a number of different 108 # none: in case threads are in libc; should be tried before -Kthread and 110 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h) 111 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able [all...] |
/external/chromium/base/ |
time_win_unittest.cc | 69 // 2) Create N threads 70 // 3) Start the threads 84 HANDLE threads[kThreads]; local 89 threads[index] = reinterpret_cast<HANDLE>( 92 EXPECT_NE((HANDLE)NULL, threads[index]); 98 // Wait for threads to finish 100 DWORD rv = WaitForSingleObject(threads[index], INFINITE);
|
observer_list_unittest.cc | 171 bool do_notifies_; // Whether these threads should do notifications. 270 // of observer threads, each of which constantly adds/removes itself 272 // to true, the observer threads will also trigger notifications to 292 base::PlatformThreadHandle threads[kMaxThreads]; local 296 threaded_observer[index], &threads[index])); 311 PlatformThread::Join(threads[index]); 316 // Use 7 observer threads. Notifications only come from 322 // Use 3 observer threads. Notifications will fire from 323 // the main thread and all 3 observer threads.
|
/libcore/luni/src/test/java/libcore/java/lang/ |
OldThreadGroupTest.java | 105 private boolean inListOfThreads(Thread[] threads) { 106 for (int i = 0; i < threads.length; i++) { 107 if (Thread.currentThread() == threads[i]) { 121 assertTrue("Current thread must be in enumeration of threads", 133 // start some the threads and see how the count changes 142 Thread.sleep(500); // starting threads isn't instant! 152 // kill the threads and count 'em again 156 Thread.sleep(500); // killing threads isn't instant 337 // Give the threads a chance to die.
|
/packages/apps/Mms/src/com/android/mms/data/ |
Conversation.java | 22 import android.provider.Telephony.Threads; 45 Threads.CONTENT_URI.buildUpon().appendQueryParameter("simple", "true").build(); 48 Threads._ID, Threads.DATE, Threads.MESSAGE_COUNT, Threads.RECIPIENT_IDS, 49 Threads.SNIPPET, Threads.SNIPPET_CHARSET, Threads.READ, Threads.ERROR [all...] |
/external/chromium/base/threading/ |
simple_thread.h | 138 // DelegateSimpleThreadPool allows you to start up a fixed number of threads, 139 // and then add jobs which will be dispatched to the threads. This is 155 // Start up all of the underlying threads, and start processing work if we 160 // of the underlying threads in the pool. 170 // We implement the Delegate interface, for running our internal threads.
|
worker_pool_posix_unittest.cc | 48 // threads used if more than one IncrementingTask is consecutively posted to the 136 // Wake up the idle threads so they can terminate. 227 EXPECT_EQ(2, peer_.num_idle_threads()) << "Existing threads are now idle."; 250 // Wake up all idle threads so they can exit. 259 // Add another non blocking task. There are no threads to reuse.
|
/external/protobuf/gtest/test/ |
gtest_stress_test.cc | 33 // used in a large number of threads concurrently. 52 // How many threads to create? 94 // RecordProperty() should interact safely with other threads as well. 107 // Tests using SCOPED_TRACE() and Google Test assertions in many threads 111 // ManyAsserts() in many threads here.
|
/frameworks/native/include/utils/ |
ThreadDefs.h | 45 * it doesn't starve the system. Threads not behaving properly might 55 /* most threads run at normal priority */ 58 /* threads currently running a UI that the user is interacting with */ 67 /* all normal audio threads */ 70 /* service audio threads (uncommon) */
|