dotnet/runtime

Set process priority to use efficiency cores.

开放

#66,417 创建于 2022年2月11日

 (13 条评论) (1 个反应) (0 位负责人)C# (5,445 个派生)batch import
api-needs-workarea-System.Diagnostics.Processhelp wanted

仓库指标

星标
 (17,886 个星标)
PR 合并指标
 (平均合并 12天 11小时) (30 天内合并 661 个 PR)

描述

Windows 11 SDK has support for setting a process to use the efficiency cores for Windows 11 on 12th Generation Intel Core i7 processors

https://docs.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-setprocessinformation

Is it possible for .net to set a priority of process to use the execution cores?

Describe the solution you'd like

Add a enumerator value to ProcessPriorityClass, BasePriority that tells the scheduler to use efficiency cores if available.

贡献者指南