public KScheduler(KernelContext context) { _context = context; SchedulingData = new KSchedulingData(); CoreManager = new HleCoreManager(); CoreContexts = new KCoreContext[CpuCoresCount]; for (int core = 0; core < CpuCoresCount; core++) { CoreContexts[core] = new KCoreContext(this, CoreManager); } }
public KScheduler(Horizon system) { _system = system; SchedulingData = new KSchedulingData(); CoreManager = new HleCoreManager(); CoreContexts = new KCoreContext[CpuCoresCount]; for (int core = 0; core < CpuCoresCount; core++) { CoreContexts[core] = new KCoreContext(this, CoreManager); } }
public KCoreContext(KScheduler scheduler, HleCoreManager coreManager) { _scheduler = scheduler; _coreManager = coreManager; }