/haiku/src/system/kernel/scheduler/ |
H A D | low_latency.cpp | 40 CoreEntry* core = threadData->Core(); 41 bigtime_t activeTime = core->GetActiveTime(); 54 // wake new core 64 CoreEntry* core = NULL; local 67 core = package->GetIdleCore(index++); 68 } while (core != NULL && !core->CPUMask().Matches(mask)); 70 if (core == NULL) { 73 // no idle cores, use least occupied core 75 core 95 CoreEntry* core = threadData->Core(); local 176 CoreEntry* core = CoreEntry::GetCore(cpu->cpu_num); local [all...] |
H A D | power_saving.cpp | 56 CoreEntry* core = gCoreLoadHeap.PeekMaximum(); local 57 if (core == NULL) 61 = atomic_pointer_test_and_set(&sSmallTaskCore, core, (CoreEntry*)NULL); 63 return core; 89 CoreEntry* core = NULL; local 97 // try to pack all threads on one core 98 core = choose_small_task_core(); 99 if (!core->CPUMask().Matches(mask)) 100 core = NULL; 102 if (core 144 CoreEntry* core = threadData->Core(); local 257 CoreEntry* core = CoreEntry::GetCore(smp_get_current_cpu()); local [all...] |
H A D | scheduler_locking.h | 36 inline bool Lock(CoreEntry* core) argument 38 core->LockRunQueue(); 42 inline void Unlock(CoreEntry* core) argument 44 core->UnlockRunQueue(); 52 inline bool Lock(CoreEntry* core) argument 54 core->LockCPUHeap(); 58 inline void Unlock(CoreEntry* core) argument 60 core->UnlockCPUHeap();
|
H A D | scheduler_thread.cpp | 56 ThreadData::_ChooseCPU(CoreEntry* core, bool& rescheduleNeeded) const argument 65 ASSERT(mask.Matches(core->CPUMask())); 71 if (previousCPU->Core() == core) { 72 CoreCPUHeapLocker _(core); 81 CoreCPUHeapLocker _(core); 85 cpu = core->CPUHeap()->PeekRoot(index++); 127 ThreadData::Init(CoreEntry* core) argument 131 fCore = core;
|
H A D | scheduler.cpp | 72 // CPU topology the following arrays are used to efficiently get the core 120 TRACE("enqueueing thread %" B_PRId32 " with priority %" B_PRId32 " on CPU %" B_PRId32 " (core %" B_PRId32 ")\n", 327 CoreEntry* core = CoreEntry::GetCore(thisCPU); local 414 CoreCPUHeapLocker cpuLocker(core); 441 ASSERT(nextThreadData->Core() == core); 574 CoreEntry* core = cpu->Core(); local 576 ASSERT(core->CPUCount() >= 0); 583 core->RemoveCPU(cpu, enqueuer); 671 // create logical processor to core and package mappings 706 CoreEntry* core local 829 CoreEntry* core = threadData->Core(); local [all...] |
H A D | scheduler_cpu.h | 38 // One queue per schedulable target per core. Additionally, each 50 void Init(int32 id, CoreEntry* core); 182 void* core); 218 // gPackageEntries are used to decide which core should be woken up from the 221 // package can enter any boost mode if it has one and the active core have more 225 // with at least one core active and one core idle. The packages with all cores 233 inline void CoreGoesIdle(CoreEntry* core); 234 inline void CoreWakesUp(CoreEntry* core); 238 void AddIdleCore(CoreEntry* core); 471 CoreGoesIdle(CoreEntry* core) argument [all...] |
H A D | scheduler_cpu.cpp | 41 static void DumpCoreRunQueue(CoreEntry* core); 42 static void DumpCoreLoadHeapEntry(CoreEntry* core); 93 CPUEntry::Init(int32 id, CoreEntry* core) argument 96 fCore = core; 473 // core has been reenabled 499 // core has been disabled 608 CoreEntry* core = static_cast<CoreEntry*>(data); local 611 if (threadData->Core() == core && thread->pinned_to_cpu == 0) 665 PackageEntry::AddIdleCore(CoreEntry* core) argument 669 fIdleCores.Add(core); 677 RemoveIdleCore(CoreEntry* core) argument 702 DumpCoreRunQueue(CoreEntry* core) argument [all...] |
H A D | scheduler_thread.h | 29 inline CPUEntry* _ChooseCPU(CoreEntry* core, 36 void Init(CoreEntry* core);
|
/haiku/src/tests/add-ons/kernel/network/ |
H A D | net_stack_tester.cpp | 14 struct core_module_info * core = NULL; variable in typeref:struct:core_module_info 26 if (get_module(NET_CORE_MODULE_NAME, (module_info **) &core) != B_OK) { 31 puts("Starting core module..."); 32 core->start();
|
H A D | userland_ipc.c | 67 extern struct core_module_info *core; 253 status = core->socket_init(&cookie->socket); 255 status = core->socket_create(cookie->socket, args->u.socket.family, args->u.socket.type, args->u.socket.proto); 261 status = core->socket_getsockopt(cookie->socket, args->u.sockopt.level, args->u.sockopt.option, 265 status = core->socket_setsockopt(cookie->socket, args->u.sockopt.level, args->u.sockopt.option, 279 status = core->socket_connect(cookie->socket, addr, args->u.sockaddr.addrlen); 282 status = core->socket_bind(cookie->socket, addr, args->u.sockaddr.addrlen); 285 status = core->socket_getsockname(cookie->socket, (struct sockaddr *) addr, &args->u.sockaddr.addrlen); 288 status = core->socket_getpeername(cookie->socket,(struct sockaddr *) addr, &args->u.sockaddr.addrlen); 294 status = core [all...] |
H A D | userland_modules.cpp | 804 #define NET_CORE_MODULE_NAME "network/core/v1" 812 module_info * core; 834 core = NULL; 835 get_module(NET_CORE_MODULE_NAME, (module_info **) &core); 855 if (core)
|
/haiku/src/system/kernel/arch/riscv64/ |
H A D | arch_system_info.cpp | 38 node->data.core.model = 0; 39 node->data.core.default_frequency = sCPUClockFrequency;
|
/haiku/src/system/kernel/arch/m68k/ |
H A D | arch_system_info.cpp | 39 node->data.core.model = sCPURevision; 40 node->data.core.default_frequency = sCPUClockFrequency;
|
/haiku/src/add-ons/kernel/network/ppp/shared/libkernelppp/headers/ |
H A D | KPPPDefs.h | 22 extern struct core_module_info *core; 23 // needed by core quick-access function defines
|
/haiku/src/add-ons/kernel/network/ppp/pppoe/ |
H A D | PPPoE.h | 49 extern struct core_module_info *core;
|
/haiku/src/system/kernel/arch/ppc/ |
H A D | arch_system_info.cpp | 79 node->data.core.model = sPVR; 80 node->data.core.default_frequency = sCPUClockFrequency;
|
/haiku/src/system/kernel/arch/x86/ |
H A D | arch_system_info.cpp | 139 node->data.core.model = sCPUModel; 140 node->data.core.default_frequency = sCPUClockSpeed;
|
/haiku/src/servers/debug/ |
H A D | DebugWindow.cpp | 73 BRadioButton *core = new BRadioButton("core", local 74 B_TRANSLATE("Write core file"), new BMessage(kActionWriteCoreFile)); 92 .Add(core)
|
/haiku/src/add-ons/media/media-add-ons/mixer/ |
H A D | MixerOutput.h | 27 MixerOutput(MixerCore *core,
|
H A D | MixerInput.h | 26 MixerInput(MixerCore* core,
|
H A D | MixerOutput.cpp | 19 MixerOutput::MixerOutput(MixerCore *core, const media_output &output) argument 21 fCore(core),
|
H A D | MixerInput.cpp | 23 MixerInput::MixerInput(MixerCore* core, const media_input& input, argument 26 fCore(core),
|
/haiku/headers/private/shared/ |
H A D | cpu_type.h | 129 "Eight-core", "6-core", "Six-core", "Quad-core", "Dual-core", 130 "Dual core", "Processor", "APU", "AMD", "Intel", "Integrated", 504 cpuModel = topology[i].data.core.model; 539 cpuFrequency = topology[i].data.core.default_frequency;
|
/haiku/src/system/libroot/os/ |
H A D | system_info.cpp | 111 info->cpu_clock_speed = topology[i].data.core.default_frequency;
|
/haiku/src/bin/ |
H A D | sysinfo.cpp | 57 {0x40, NULL /*"No integrated L2 cache (P6 core) or L3 cache (P4 core)"*/}, 701 cpuModel = topology[i].data.core.model; 702 frequency = topology[i].data.core.default_frequency;
|