The threads a frame waits for are kept on the fast cores (VICTORY_FAST_CORES=0: not; 1: without the helpers)
cpu_sets and keep_on_fast_cores are fxceless/victory-fork's (framelog.rs, commit 0b0074e0). Asked for by: submit, relay, late-wait, heap-sync, aside; and the helpers of the wide copies (refreshes, fills, snapshots) and of the landings. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
77df0c0042
commit
e980f553cc
8 files changed
+113
-2
No files matched your search
@@ -439,6 +439,7 @@ pub(super) fn on() -> bool {
|
||||
use windows_sys::Win32::System::Threading::{GetCurrentThread, SetThreadPriority, THREAD_PRIORITY_ABOVE_NORMAL};
|
||||
// SAFETY: this thread's own priority.
|
||||
unsafe { SetThreadPriority(GetCurrentThread(), THREAD_PRIORITY_ABOVE_NORMAL) };
|
||||
crate::cores::keep_on_fast_cores("victory-submit");
|
||||
OURS.set(true);
|
||||
let ended = std::panic::catch_unwind(std::panic::AssertUnwindSafe(|| LANE.serve()));
|
||||
if ended.is_err() {
|
||||
|
||||
Reference in new issue
Block a user