Diagnostics: a sampling profiler (VICTORY_PROFILE=<from>,<to>,<ms>,<file>[;...])

Samples the 28 busiest threads, whole stacks, with what the frame is at.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
localandClaude Opus 5.5 committed 2026-11-25 02:58:07 -06:00
1 parent ad30f2cb1f
commit 6ff1e14aad
7 files changed
+241 -8

No files matched your search

+1
View File
@@ -196,6 +196,7 @@ pub fn run(
#[cfg(all(windows, feature = "diagnostics"))]
fn diagnostics(image: &victory_loader::LoadedImage, cfg: &victory_core::Config) {
victory_loader::dump_stacks_on_schedule();
victory_loader::profile_on_schedule(victory_hle::frame_phase);
victory_hle::modules::audio::capture::start();
watch(image.base(), image.info().size_of_image as usize);
poke(image.base(), image.info().size_of_image as usize);