dotnet/runtime

Set process priority to use efficiency cores.

Open

#66,417 opened on 2022年2月11日

GitHub で見る
 (13 comments) (1 reaction) (0 assignees)C# (5,445 forks)batch import
api-needs-workarea-System.Diagnostics.Processhelp wanted

Repository metrics

Stars
 (17,886 stars)
PR merge metrics
 (平均マージ 12d 11h) (30d で 661 merged PRs)

説明

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.

コントリビューターガイド