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:
1 parent
ad30f2cb1f
commit
6ff1e14aad
7 files changed
+241
-8
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user