diff options
author | Tim Blechmann <tim@klingt.org> | 2025-07-29 23:24:06 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-29 11:24:06 -0400 |
commit | 860b1e68ea180672d0e02fa8328f4a7c45e16f0f (patch) | |
tree | 41867f2bf8e8d29a6034c16d86eb39c79a2ebae1 /clang/lib/AST/ByteCode/Program.cpp | |
parent | 3b66d4a987bff6d9d3e8a0932604cb40850136eb (diff) | |
download | llvm-860b1e68ea180672d0e02fa8328f4a7c45e16f0f.zip llvm-860b1e68ea180672d0e02fa8328f4a7c45e16f0f.tar.gz llvm-860b1e68ea180672d0e02fa8328f4a7c45e16f0f.tar.bz2 |
Windows: use EcoQoS for ThreadPriority::Background (#148797)
The SetThreadInformation API allows threads to be scheduled on the most
efficient cores on the most efficient frequency.
Using this API for ThreadPriority::Background should make clangd-based
IDEs a little less CPU hungry.
---------
Co-authored-by: Alexandre Ganea <aganea@havenstudios.com>
Diffstat (limited to 'clang/lib/AST/ByteCode/Program.cpp')
0 files changed, 0 insertions, 0 deletions