From cca1b6a50fddca2325739f580b9931aba2db0e77 Mon Sep 17 00:00:00 2001 From: lizzie Date: Tue, 26 May 2026 06:42:08 +0000 Subject: [PATCH] fix c1 --- src/common/thread.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/thread.cpp b/src/common/thread.cpp index 1720c9eb35..01a86e52a8 100644 --- a/src/common/thread.cpp +++ b/src/common/thread.cpp @@ -190,8 +190,8 @@ bool Event::WaitFor(const std::chrono::nanoseconds time) { // MWAITX accepts a 32-bit input timer which determines the total number of cycles to wait for // NOT THE TOTAL ABSOLUTE TSC VALUE, it's just a delta // BIT[1] = use a timer - // Hint = 0: Use C2 state when sleepy (means slower wakeup but better savings) - _mm_mwaitx(1 << 1, 1u, cycles); + // Hint = 0: Use C1 state when sleepy (means slower wakeup but better savings) + _mm_mwaitx(1 << 1, 0u, cycles); if (!is_set.load()) return false; } else