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.

貢獻者指南