Searched refs:affinity (Results 1 - 12 of 12) sorted by relevance
/macosx-10.5.8/xnu-1228.15.4/EXTERNAL_HEADERS/mach-o/ |
H A D | fat.h | 73 struct fat_arch *archret, int affinity);
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/ |
H A D | Makefile | 13 affinity.h \
|
H A D | thread_policy.c | 35 #include <kern/affinity.h>
|
H A D | affinity.c | 29 #include <kern/affinity.h> 36 * - affinity namespace: 37 * shared by a task family, this controls affinity tag lookup and 38 * allocation; it anchors all affinity sets in one namespace 39 * - affinity set: 40 * anchors all threads with membership of this affinity set 41 * and which share an affinity tag in the owning namespace. 44 * - The task lock protects the creation of an affinity namespace. 45 * - The affinity namespace mutex protects the inheritance of a namespace 48 * - The thread mutex protects a thread's affinity se [all...] |
H A D | thread.h | 121 #include <kern/affinity.h> 265 * Processor/cache affinity 266 * - affinity_threads links task threads with the same affinity set
|
H A D | thread_act.c | 76 #include <kern/affinity.h>
|
H A D | task.c | 122 #include <kern/affinity.h>
|
/macosx-10.5.8/xnu-1228.15.4/tools/tests/affinity/ |
H A D | pool.c | 18 * affinity set placement in Leopard. 37 * When affinity is enabled, each producer thread is tagged with an affinity tag 39 * the work queue it is tagged with this affinity. When a consumer dequeues a 40 * work item, it sets its affinity to this tag. Hence consumer threads migrate 41 * to the same affinity set where the data was produced. 59 boolean_t affinity = FALSE; variable 124 "usage: pool [-a] Turn affinity on (off)\n" 179 if (affinity) { 217 * If we're using affinity set [all...] |
H A D | sets.c | 19 * affinity set placement in Leopard. 31 * All threads of each line sets the same affinity tag (unless disabled). 40 * With affinity enabled, each producer and consumer thread sets its affinity 59 boolean_t affinity = FALSE; variable 124 "usage: sets [-a] Turn affinity on (off)\n" 189 * If we're using affinity sets (we are by default) 204 if (affinity) { 359 affinity = !affinity; [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/ |
H A D | mach_fat.c | 200 int affinity) 206 if (handler && affinity) { 196 fatfile_getarch_affinity( struct vnode *vp, vm_offset_t data_ptr, struct fat_arch *archret, int affinity) argument
|
H A D | pthread_synch.c | 83 #include <kern/affinity.h> 1130 * WQ_TIMER_WATCH will only be set if we have 1 or more affinity 1132 * it will not be set if all affinity groups have at least 1 thread 1238 * we were the last active thread on this affinity set 1244 * and the idle list is empty for this affinity group 1301 * look for an idle thread to steal from this affinity group 1430 * affinity tag of 0 means no affinity... 1758 * affinity group, so pick up some work and keep going 1766 * look for first affinity grou [all...] |
/macosx-10.5.8/xnu-1228.15.4/tools/tests/MMTest/ |
H A D | MPMMtest.c | 83 static boolean_t affinity = FALSE; variable 103 fprintf(stderr, " -affinity\t\tthreads use affinity\n"); 117 fprintf(stderr, " . no affinity\n"); 156 } else if (0 == strcmp("-affinity", argv[0])) { 157 affinity = TRUE; 325 if (affinity) { 690 * If we're using affinity create an empty namespace now 693 if (affinity)
|
Completed in 75 milliseconds