dotnet/runtime

Set process priority to use efficiency cores.

Open

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

在 GitHub 查看
 (13 评论) (1 反应) (0 负责人)C# (5,445 fork)batch import
api-needs-workarea-System.Diagnostics.Processhelp wanted

仓库指标

Star
 (17,886 star)
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.

贡献者指南