| /xsrc/external/mit/MesaLib/dist/src/glx/apple/ |
| H A D | apple_glx_log.c | 73 uint64_t thread = 0; local in function:_apple_glx_vlog 77 thread = (uint64_t)(uintptr_t)pthread_self(); 80 pthread_threadid_np(NULL, &thread); 82 thread = (uint64_t)(uintptr_t)pthread_self(); 85 pthread_threadid_np(NULL, &thread); 90 _asl_level_string(level), file, line, function, thread); 108 asprintf(&_thread, "%"PRIu64, thread);
|
| /xsrc/external/mit/MesaLib.old/dist/src/util/ |
| H A D | u_thread.h | 41 thrd_t thread; local in function:u_thread_create 49 ret = thrd_create( &thread, routine, param ); 53 ret = thrd_create( &thread, routine, param ); 58 return thread; 75 * cache. Inter-thread communication such as locks and atomics between modules 79 * \param thread thread 84 util_pin_thread_to_L3(thrd_t thread, unsigned L3_index, unsigned cores_per_L3) argument 92 pthread_setaffinity_np(thread, sizeof(cpuset), &cpuset); 97 * Return the index of L3 that the thread i 104 util_get_L3_for_pinned_thread(thrd_t thread,unsigned cores_per_L3) argument 136 u_thread_get_time_nano(thrd_t thread) argument 150 u_thread_is_self(thrd_t thread) argument [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/glx/apple/ |
| H A D | apple_glx_log.c | 77 uint64_t thread = 0; local in function:_apple_glx_vlog 81 thread = (uint64_t)(uintptr_t)pthread_self(); 84 pthread_threadid_np(NULL, &thread); 86 thread = (uint64_t)(uintptr_t)pthread_self(); 89 pthread_threadid_np(NULL, &thread); 98 _asl_level_string(level), file, line, function, thread); 119 asprintf(&_thread, "%"PRIu64, thread);
|
| /xsrc/external/mit/MesaLib/dist/src/util/ |
| H A D | u_thread.h | 68 /* Some highly performance-sensitive thread-local variables like the current GL 79 #define __THREAD_INITIAL_EXEC __declspec(thread) 109 thrd_t thread; local in function:u_thread_create 117 ret = thrd_create( &thread, routine, param ); 121 ret = thrd_create( &thread, routine, param ); 126 return thread; 157 * Set thread affinity. 159 * \param thread Thread 166 util_set_thread_affinity(thrd_t thread, argument 177 if (pthread_getaffinity_np(thread, sizeo 258 util_thread_get_time_nano(thrd_t thread) argument 288 u_thread_is_self(thrd_t thread) argument [all...] |
| H A D | u_qsort.cpp | 25 #include <thread>
|
| /xsrc/external/mit/MesaLib.old/dist/src/intel/vulkan/tests/ |
| H A D | state_pool_test_helper.h | 29 pthread_t thread; member in struct:job 66 pthread_create(&jobs[i].thread, NULL, alloc_states, &jobs[i]); 70 pthread_join(jobs[i].thread, NULL);
|
| H A D | state_pool_no_free.c | 35 pthread_t thread; member in struct:job 73 pthread_create(&jobs[i].thread, NULL, alloc_states, &jobs[i]); 77 pthread_join(jobs[i].thread, NULL); 79 /* A list of indices, one per thread */ 85 /* First, we find which thread has the highest next element */
|
| /xsrc/external/mit/MesaLib/dist/src/intel/vulkan/tests/ |
| H A D | state_pool_test_helper.h | 29 pthread_t thread; member in struct:job 66 pthread_create(&jobs[i].thread, NULL, alloc_states, &jobs[i]); 70 pthread_join(jobs[i].thread, NULL);
|
| H A D | state_pool_no_free.c | 34 pthread_t thread; member in struct:job 73 pthread_create(&jobs[i].thread, NULL, alloc_states, &jobs[i]); 77 pthread_join(jobs[i].thread, NULL); 79 /* A list of indices, one per thread */ 85 /* First, we find which thread has the highest next element */
|
| /xsrc/external/mit/MesaLib.old/dist/docs/specs/ |
| H A D | MESA_multithread_makecurrent.spec | 33 create a context per thread which each operate on their own 37 For some applications, maintaining per-thread contexts and 38 ensuring that the glFlush happens in one thread before another 39 thread starts working on that object is difficult. For them, 68 thread at a time. 71 only one thread at a time. A direct rendering context may be 79 If ctx is current to some other thread, then 82 If ctx is an indirect context current to some other thread, 86 If ctx is current to some other thread, then 89 If ctx is an indirect context current to some other thread, [all...] |
| /xsrc/external/mit/MesaLib/dist/docs/_extra/specs/ |
| H A D | MESA_multithread_makecurrent.spec | 33 create a context per thread which each operate on their own 37 For some applications, maintaining per-thread contexts and 38 ensuring that the glFlush happens in one thread before another 39 thread starts working on that object is difficult. For them, 68 thread at a time. 71 only one thread at a time. A direct rendering context may be 79 If ctx is current to some other thread, then 82 If ctx is an indirect context current to some other thread, 86 If ctx is current to some other thread, then 89 If ctx is an indirect context current to some other thread, [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/swr/rasterizer/common/ |
| H A D | rdtsc_buckets.cpp | 59 // assign unique thread id for this thread 64 // store new thread 132 void BucketManager::PrintThread(FILE* f, const BUCKET_THREAD& thread) argument 135 fprintf(f, "\nThread %u (%s)\n", thread.id, thread.name.c_str()); 138 // compute thread level total cycle counts across all buckets from root 139 const BUCKET& root = thread.root; 161 for (const BUCKET_THREAD& thread : mThreads) local in function:BucketManager::PrintReport 163 PrintThread(f, thread); [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/common/ |
| H A D | rdtsc_buckets.cpp | 59 // assign unique thread id for this thread 64 // store new thread 133 void BucketManager::PrintThread(FILE* f, const BUCKET_THREAD& thread) argument 136 fprintf(f, "\nThread %u (%s)\n", thread.id, thread.name.c_str()); 139 // compute thread level total cycle counts across all buckets from root 140 const BUCKET& root = thread.root; 163 for (const BUCKET_THREAD& thread : mThreads) local in function:BucketManager::PrintReport 165 PrintThread(f, thread); [all...] |
| /xsrc/external/mit/libdrm/dist/tests/amdgpu/ |
| H A D | hotunplug_tests.c | 245 pthread_t *thread = malloc(sizeof(*thread)); local in function:amdgpu_create_cs_thread 246 if (!thread) 251 r = pthread_create(thread, NULL, amdgpu_nop_cs, NULL); 254 /* Give thread enough time to start*/ 256 return thread; 259 static void amdgpu_destroy_cs_thread(pthread_t *thread) argument 265 pthread_join(*thread, &status); 268 free(thread); 275 pthread_t *thread local in function:amdgpu_hotunplug_test [all...] |
| /xsrc/external/mit/xf86-video-intel/dist/src/sna/ |
| H A D | sna_threads.c | 47 static struct thread { struct 48 pthread_t thread; member in struct:thread 58 struct thread *t = arg; 150 DBG(("%s: creating a thread pool of %d threads\n", 163 if (pthread_create(&threads[n].thread, NULL, 168 threads[0].thread = pthread_self(); 178 assert(pthread_self() == threads[0].thread); 198 if (t == threads[0].thread) 201 for (n = 1; threads[n].thread != t; n++) 204 ERR(("%s: thread[ [all...] |
| H A D | sna_trapezoids_precise.c | 1737 DBG(("%s: damaged -> no thread support\n", __FUNCTION__)); 1766 struct span_thread *thread = arg; local in function:span_thread 1772 if (!tor_init(&tor, &thread->extents, 2*thread->ntrap)) 1775 span_thread_boxes_init(&boxes, thread->op, thread->clip); 1777 y1 = thread->extents.y1 - thread->draw_y; 1778 y2 = thread->extents.y2 - thread 2019 struct mask_thread *thread = arg; local in function:mask_thread 2489 struct inplace_x8r8g8b8_thread *thread = arg; local in function:inplace_x8r8g8b8_thread 2835 struct inplace_thread *thread = arg; local in function:inplace_thread 3266 struct tristrip_thread *thread = arg; local in function:tristrip_thread [all...] |
| H A D | sna_trapezoids_boxes.c | 1018 struct rectilinear_inplace_thread *thread = arg; local in function:rectilinear_inplace_thread 1019 const xTrapezoid *t = thread->trap; 1024 pi.image = thread->dst; 1025 pi.dx = thread->dx; 1026 pi.dy = thread->dy; 1028 pi.source = thread->src; 1029 pi.sx = thread->sx; 1030 pi.sy = thread->sy; 1035 pi.op = thread->op; 1037 count = region_count(thread 1189 struct rectilinear_inplace_thread thread[num_threads]; local in function:composite_unaligned_boxes_inplace [all...] |
| /xsrc/external/mit/xf86-video-intel-2014/dist/src/sna/ |
| H A D | sna_threads.c | 47 static struct thread { struct 48 pthread_t thread; member in struct:thread 58 struct thread *t = arg; 150 DBG(("%s: creating a thread pool of %d threads\n", 163 if (pthread_create(&threads[n].thread, NULL, 168 threads[0].thread = pthread_self(); 178 assert(pthread_self() == threads[0].thread); 198 if (t == threads[0].thread) 201 for (n = 1; threads[n].thread != t; n++) 204 ERR(("%s: thread[ [all...] |
| H A D | sna_trapezoids_precise.c | 1709 DBG(("%s: damaged -> no thread support\n", __FUNCTION__)); 1727 struct span_thread *thread = arg; local in function:span_thread 1733 if (!tor_init(&tor, &thread->extents, 2*thread->ntrap)) 1736 boxes.op = thread->op; 1739 y1 = thread->extents.y1 - thread->draw_y; 1740 y2 = thread->extents.y2 - thread->draw_y; 1741 for (n = thread 1981 struct mask_thread *thread = arg; local in function:mask_thread 2516 struct inplace_x8r8g8b8_thread *thread = arg; local in function:inplace_x8r8g8b8_thread 2876 struct inplace_thread *thread = arg; local in function:inplace_thread 3311 struct tristrip_thread *thread = arg; local in function:tristrip_thread [all...] |
| /xsrc/external/mit/xorg-server/dist/hw/xwin/winclipboard/ |
| H A D | Makefile.am | 7 thread.c \
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/swr/rasterizer/core/core/ |
| H A D | threads.h | 33 #include <thread> 34 typedef std::thread* THREAD_PTR; 48 uint32_t workerId; // index of worker in total thread data 71 // Expose FE and BE worker functions to the API thread if single threaded
|
| /xsrc/external/mit/xcb-util/dist/reply/ |
| H A D | reply.c | 123 pthread_create(&h->thread, 0, reply_thread, h); 129 pthread_cancel(h->thread); 130 pthread_join(h->thread, 0);
|
| H A D | xcb_reply.h | 65 pthread_t thread; member in struct:xcb_reply_handlers 93 * @brief Start reply handling thread. 94 * This thread will run forever until it is stop with xcb_reply_stop_thread. 100 * @brief Stop reply handling thread.
|
| /xsrc/external/mit/pixman/dist/test/ |
| H A D | thread-test.c | 7 printf ("Skipped thread-test - pthreads or Windows Threads not supported\n"); 83 thread (void *data) function in typeref:typename:void * 86 thread (LPVOID data) 173 pthread_create (&threads[i], NULL, thread, &info[i]); 191 thread, 197 printf ("Windows thread creation failed!\n"); 222 printf ("thread-test failed. Got checksum 0x%08X, expected 0x%08X\n",
|
| /xsrc/external/mit/MesaLib/dist/src/mapi/glapi/ |
| H A D | glapi.h | 36 * A per-thread current dispatch table and per-thread current context 83 extern __declspec(thread) struct _glapi_table * _glapi_tls_Dispatch; 84 extern __declspec(thread) void * _glapi_tls_Context;
|