/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 58 CoreEntry* core = NULL; local 60 core = package->GetIdleCore(); 62 if (core == NULL) { 64 // no idle cores, use least occupied core 65 core = gCoreLoadHeap.PeekMinimum(); 66 if (core == NULL) 67 core 80 CoreEntry* core = threadData->Core(); local 145 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; 90 CoreEntry* core = NULL; local 92 // try to pack all threads on one core 93 core = choose_small_task_core(); 95 if (core == NULL || core->GetLoad() + threadData->GetLoad() >= kHighLoad) { 98 // run immediately on already woken core 124 CoreEntry* core = threadData->Core(); local 229 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 if (previousCPU->Core() == core && !fThread->previous_cpu->disabled) { 66 CoreCPUHeapLocker _(core); 75 CoreCPUHeapLocker _(core); 76 CPUEntry* cpu = core->CPUHeap()->PeekRoot(); 117 ThreadData::Init(CoreEntry* core) argument 121 fCore = core;
|
H A D | scheduler.cpp | 72 // CPU topology the following arrays are used to efficiently get the core 120 TRACE("enqueueing thread %ld with priority %ld on CPU %ld (core %ld)\n", 327 CoreEntry* core = CoreEntry::GetCore(thisCPU); local 402 CoreCPUHeapLocker cpuLocker(core); 429 ASSERT(nextThreadData->Core() == core); 562 CoreEntry* core = cpu->Core(); local 564 ASSERT(core->CPUCount() >= 0); 571 core->RemoveCPU(cpu, enqueuer); 655 // create logical processor to core and package mappings 690 CoreEntry* core local 813 CoreEntry* core = threadData->Core(); local [all...] |
H A D | scheduler_cpu.h | 37 // One queue per schedulable target per core. Additionally, each 49 void Init(int32 id, CoreEntry* core); 179 void* core); 214 // gPackageEntries are used to decide which core should be woken up from the 217 // package can enter any boost mode if it has one and the active core have more 221 // with at least one core active and one core idle. The packages with all cores 229 inline void CoreGoesIdle(CoreEntry* core); 230 inline void CoreWakesUp(CoreEntry* core); 234 void AddIdleCore(CoreEntry* core); 467 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; 472 // core has been reenabled 496 // core has been disabled 605 CoreEntry* core = static_cast<CoreEntry*>(data); local 608 if (threadData->Core() == core && thread->pinned_to_cpu == 0) 662 PackageEntry::AddIdleCore(CoreEntry* core) argument 666 fIdleCores.Add(core); 674 RemoveIdleCore(CoreEntry* core) argument 699 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;
|