[all-commits] [llvm/llvm-project] 860b1e: Windows: use EcoQoS for ThreadPriority::Background...

Tim Blechmann via All-commits all-commits at lists.llvm.org
Tue Jul 29 08:24:28 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 860b1e68ea180672d0e02fa8328f4a7c45e16f0f
      https://github.com/llvm/llvm-project/commit/860b1e68ea180672d0e02fa8328f4a7c45e16f0f
  Author: Tim Blechmann <tim at klingt.org>
  Date:   2025-07-29 (Tue, 29 Jul 2025)

  Changed paths:
    M llvm/include/llvm/Support/Windows/WindowsSupport.h
    M llvm/lib/Support/Windows/Threading.inc

  Log Message:
  -----------
  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 at havenstudios.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list