Searched refs:qos (Results 1 - 25 of 38) sorted by relevance

12

/macosx-10.10.1/WebKit2-7600.1.25/Platform/
H A DWorkQueue.cpp29 PassRefPtr<WorkQueue> WorkQueue::create(const char* name, QOS qos) argument
31 return adoptRef(new WorkQueue(name, qos));
34 WorkQueue::WorkQueue(const char* name, QOS qos) argument
36 platformInitialize(name, qos);
/macosx-10.10.1/libpthread-105.1.4/kern/
H A Dkern_policy.c33 pthread_qos_class_get_priority(int qos) argument
36 switch (qos) {
65 qos_class_t qos; local
67 case 0: qos = QOS_CLASS_USER_INTERACTIVE; break;
68 case 1: qos = QOS_CLASS_USER_INITIATED; break;
69 case 2: qos = QOS_CLASS_DEFAULT; break;
70 case 3: qos = QOS_CLASS_UTILITY; break;
71 case 4: qos = QOS_CLASS_BACKGROUND; break;
72 case 5: qos = QOS_CLASS_MAINTENANCE; break;
75 qos
[all...]
H A Dkern_internal.h41 #include "pthread/qos.h"
189 #define _pthread_priority_split_newest(priority, qos, relpri) \
190 ({ qos = _pthread_priority_get_qos_newest(priority); \
191 relpri = (qos == QOS_CLASS_UNSPECIFIED) ? 0 : \
195 #define _pthread_priority_split_version2(priority, qos, relpri) \
196 ({ qos = _pthread_priority_get_qos_version2(priority); \
197 relpri = (qos == QOS_CLASS_UNSPECIFIED) ? 0 : \
202 #define _pthread_priority_make_version1(qos, relpri, flags) \
204 ((qos << 8) & 0x0000ff00) | \
239 pthread_priority_t pthread_qos_class_get_priority(int qos);
[all...]
H A Dkern_support.c373 thread_qos_policy_data_t qos; local
374 qos.qos_tier = pthread_priority_get_qos_class(priority);
375 qos.tier_importance = (qos.qos_tier == QOS_CLASS_UNSPECIFIED) ? 0 :
378 pthread_kern->thread_policy_set_internal(th, THREAD_QOS_POLICY, (thread_policy_t)&qos, THREAD_QOS_POLICY_COUNT);
478 thread_qos_policy_data_t qos; local
496 kr = pthread_kern->thread_policy_get(current_thread(), THREAD_QOS_POLICY, (thread_policy_t)&qos, &nqos, &gd);
497 if (kr != KERN_SUCCESS || qos.qos_tier == THREAD_QOS_UNSPECIFIED) {
499 qos.qos_tier = THREAD_QOS_LEGACY;
500 qos
618 thread_qos_policy_data_t qos; local
[all...]
/macosx-10.10.1/WebKit2-7600.1.25/Platform/mac/
H A DWorkQueueMac.cpp48 static dispatch_qos_class_t dispatchQOSClass(WorkQueue::QOS qos) argument
50 switch (qos) {
65 void WorkQueue::platformInitialize(const char* name, QOS qos) argument
69 attr = dispatch_queue_attr_make_with_qos_class(DISPATCH_QUEUE_SERIAL, dispatchQOSClass(qos), 0);
/macosx-10.10.1/libpthread-105.1.4/private/
H A Dqos.h27 #include_next <pthread/qos.h>
H A Dworkqueue_private.h30 #include <pthread/qos.h>
H A Dqos_private.h27 #include <pthread/qos.h>
/macosx-10.10.1/libpthread-105.1.4/src/
H A Dqos.c52 _pthread_set_main_qos(pthread_priority_t qos) argument
54 _main_qos = qos;
94 qos_class_t qos; int relpri; local
95 _pthread_priority_split_newest(__attr->qosclass, qos, relpri);
97 if (__qos_class) { *__qos_class = qos; }
205 qos_class_t qos; int relpri; local
206 _pthread_priority_split_newest(priority, qos, relpri);
208 if (__qos_class) { *__qos_class = qos; }
246 qos_class_t qos; int relpri; local
249 _pthread_priority_split_version2(priority, qos, relpr
[all...]
/macosx-10.10.1/libpthread-105.1.4/xcodescripts/
H A Dinstall-sys-headers.sh32 qos.h \
/macosx-10.10.1/libdispatch-442.1.4/src/
H A Dinit.c189 #define DISPATCH_QUEUE_ATTR_INITIALIZER(qos, prio, overcommit, concurrent) \
195 .dqa_qos_class = (qos), \
196 .dqa_relative_priority = (qos) ? (prio) : 0, \
201 #define DISPATCH_QUEUE_ATTR_KIND_INIT(qos, prio) \
204 DISPATCH_QUEUE_ATTR_INITIALIZER(qos, prio, 0, 1), \
206 DISPATCH_QUEUE_ATTR_INITIALIZER(qos, prio, 0, 0), \
208 DISPATCH_QUEUE_ATTR_INITIALIZER(qos, prio, 1, 1), \
210 DISPATCH_QUEUE_ATTR_INITIALIZER(qos, prio, 1, 0), \
213 #define DISPATCH_QUEUE_ATTR_PRIO_INITIALIZER(qos, prio) \
214 [prio] = DISPATCH_QUEUE_ATTR_KIND_INIT(qos,
[all...]
H A Dshims.h31 #if HAVE_PTHREAD_QOS_H && __has_include(<pthread/qos.h>)
32 #include <pthread/qos.h>
H A Dqueue.c349 .dq_label = "com.apple.root.maintenance-qos",
361 .dq_label = "com.apple.root.maintenance-qos.overcommit",
373 .dq_label = "com.apple.root.background-qos",
385 .dq_label = "com.apple.root.background-qos.overcommit",
397 .dq_label = "com.apple.root.utility-qos",
409 .dq_label = "com.apple.root.utility-qos.overcommit",
421 .dq_label = "com.apple.root.default-qos",
433 .dq_label = "com.apple.root.default-qos.overcommit",
445 .dq_label = "com.apple.root.user-initiated-qos",
457 .dq_label = "com.apple.root.user-initiated-qos
573 qos_class_t qos; local
708 qos_class_t qos; local
1036 qos_class_t qos = (qos_class_t)qos_class; local
1080 _dispatch_get_queue_attr(qos_class_t qos, int prio, bool overcommit, bool concurrent) argument
1149 qos_class_t qos = dqa->dqa_qos_class; local
1256 qos_class_t qos = _DISPATCH_QOS_CLASS_UNSPECIFIED; local
1435 qos_class_t qos = qos_class_main(); local
1531 qos_class_t qos = 0; local
[all...]
H A Dsource.c1326 #define DISPATCH_TIMER_INIT(kind, qos) \
1328 DISPATCH_TIMER_KIND_##kind, DISPATCH_TIMER_QOS_##qos))
1361 #define DISPATCH_KEVENT_TIMER_INIT(kind, qos) \
1363 DISPATCH_TIMER_KIND_##kind, DISPATCH_TIMER_QOS_##qos))
1378 #define DISPATCH_KEVENT_TIMEOUT_INITIALIZER(qos, note) \
1379 [qos] = { \
1380 .ident = DISPATCH_KEVENT_TIMEOUT_IDENT_MASK|(qos), \
1385 #define DISPATCH_KEVENT_TIMEOUT_INIT(qos, note) \
1386 DISPATCH_KEVENT_TIMEOUT_INITIALIZER(DISPATCH_TIMER_QOS_##qos, note)
1394 #define DISPATCH_KEVENT_COALESCING_WINDOW_INIT(qos, m
1616 _dispatch_timers_get_delay(uint64_t nows[], struct dispatch_timer_s timer[], uint64_t *delay, uint64_t *leeway, int qos) argument
1671 _dispatch_timers_program2(uint64_t nows[], struct kevent64_s *ke, unsigned int qos) argument
1691 TAILQ_FIRST(&_dispatch_kevent_timer[tidx].dk_sources), qos); local
1713 unsigned int qos, qosm = _dispatch_timers_qos_mask; local
1747 unsigned int qos = ke->ident & ~DISPATCH_KEVENT_TIMEOUT_IDENT_MASK; local
[all...]
H A Dsource_internal.h90 #define DISPATCH_TIMER_INDEX(kind, qos) (((kind) << 2) | (qos))
/macosx-10.10.1/libpthread-105.1.4/pthread/
H A Dqos.h32 #include <sys/qos.h>
/macosx-10.10.1/AppleUSBIrDA-145.2.4/IrDA/
H A DIrGlue.h65 static TIrGlue *tIrGlue(AppleIrDASerial *driver, AppleIrDA *appleirda, IOWorkLoop *work, USBIrDAQoS *qos);
67 Boolean init(AppleIrDASerial *driver, AppleIrDA *appleirda, IOWorkLoop *work, USBIrDAQoS *qos);
H A DIrGlue.cpp127 TIrGlue::tIrGlue(AppleIrDASerial *driver, AppleIrDA *appleirda, IOWorkLoop *workloop, USBIrDAQoS *qos) argument
133 if (obj && !obj->init(driver, appleirda, workloop, qos)) {
140 Boolean TIrGlue::init(AppleIrDASerial *driver, AppleIrDA *appleirda, IOWorkLoop *workloop, USBIrDAQoS *qos) argument
177 // and the two qos objects, lap needs these at init time
178 fMyQOS = TIrQOS::tIrQOS(qos);
179 fPeerQOS = TIrQOS::tIrQOS(qos);
181 // create LAP - todo: can now take the qos pointers out of the event requests
329 Disconnected(true); // reset lap and lmp and the qos objects
635 // IOLog("glue connnect qos baud is 0x%x\n", GetMyQOS()->SetBaudRate(k57600bps)); // DEBUGGING
/macosx-10.10.1/AppleUSBIrDA-145.2.4/IrDA/Stack/
H A DIrQOS.h170 static TIrQOS * tIrQOS(USBIrDAQoS *qos);
171 bool init(USBIrDAQoS *qos);
210 USBIrDAQoS *fDeviceQOS; // qos values from usb
/macosx-10.10.1/WebKit2-7600.1.25/UIProcess/mac/
H A DWebContextMac.mm626 static int qos = [[NSUserDefaults standardUserDefaults] integerForKey:@"WebKitNetworkProcessLatencyQOS"];
627 return qos;
632 static int qos = [[NSUserDefaults standardUserDefaults] integerForKey:@"WebKitNetworkProcessThroughputQOS"];
633 return qos;
638 static int qos = [[NSUserDefaults standardUserDefaults] integerForKey:@"WebKitWebProcessLatencyQOS"];
639 return qos;
644 static int qos = [[NSUserDefaults standardUserDefaults] integerForKey:@"WebKitWebProcessThroughputQOS"];
645 return qos;
/macosx-10.10.1/xnu-2782.1.97/osfmk/kern/
H A Dthread_policy.c106 thread_qos_scaled_relative_priority(int qos, int qos_relprio);
146 thread_qos_scaled_relative_priority(int qos, int qos_relprio) argument
153 switch (qos) {
171 panic("Unrecognized QoS %d", qos);
175 int prio_range_max = thread_qos_policy_params.qos_pri[qos];
191 * flag set by -qos-policy-allow boot-arg to allow
192 * testing thread qos policy from userspace
664 * Calculation of time elapsed by the thread in the current qos.
674 * |<----- effective qos time ----->|
678 * Calculate time elapsed since last qos chang
794 int qos = thread->effective_policy.thep_qos; local
[all...]
/macosx-10.10.1/xnu-2782.1.97/libsyscall/mach/
H A Dmach_port.c331 mach_port_qos_t *qos,
336 rv = _kernelrpc_mach_port_allocate_qos(task, right, qos, name);
346 mach_port_qos_t *qos,
351 rv = _kernelrpc_mach_port_allocate_full(task, right, proto, qos, name);
328 mach_port_allocate_qos( ipc_space_t task, mach_port_right_t right, mach_port_qos_t *qos, mach_port_name_t *name) argument
342 mach_port_allocate_full( ipc_space_t task, mach_port_right_t right, mach_port_t proto, mach_port_qos_t *qos, mach_port_name_t *name) argument
/macosx-10.10.1/xnu-2782.1.97/osfmk/mach/
H A Dmach_port.defs374 * Allocates the specified kind of object, qos version.
384 inout qos : mach_port_qos_t;
398 inout qos : mach_port_qos_t;
/macosx-10.10.1/WebKit2-7600.1.25/UIProcess/Plugins/mac/
H A DPluginProcessProxyMac.mm478 static int qos = [[NSUserDefaults standardUserDefaults] integerForKey:@"WebKitPluginProcessLatencyQOS"];
479 return qos;
484 static int qos = [[NSUserDefaults standardUserDefaults] integerForKey:@"WebKitPluginProcessThroughputQOS"];
485 return qos;
/macosx-10.10.1/libdispatch-442.1.4/dispatch/
H A Dqueue.h367 #if __has_include(<sys/qos.h>)
368 #include <sys/qos.h>

Completed in 333 milliseconds

12