Lines Matching defs:core
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);
402 CoreCPUHeapLocker cpuLocker(core);
429 ASSERT(nextThreadData->Core() == core);
562 CoreEntry* core = cpu->Core();
564 ASSERT(core->CPUCount() >= 0);
571 core->RemoveCPU(cpu, enqueuer);
655 // create logical processor to core and package mappings
690 CoreEntry* core = &gCoreEntries[sCPUToCore[i]];
694 core->Init(sCPUToCore[i], package);
695 gCPUEntries[i].Init(i, core);
697 core->AddCPU(&gCPUEntries[i]);
750 dprintf("scheduler switches: single core: %s, cpu load tracking: %s,"
751 " core load tracking: %s\n", gSingleCore ? "true" : "false",
813 CoreEntry* core = threadData->Core();
814 if (core == NULL)
815 core = &gCoreEntries[get_random<int32>() % gCoreCount];
817 int32 threadCount = core->ThreadCount();
818 if (core->CPUCount() > 0)
819 threadCount /= core->CPUCount();