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
@@ -28,6 +28,8 @@ pub mod prepare;
|
||||
pub(crate) mod publish;
|
||||
pub mod resolve;
|
||||
#[cfg(all(windows, feature = "diagnostics"))]
|
||||
mod profile;
|
||||
#[cfg(all(windows, feature = "diagnostics"))]
|
||||
mod stacks;
|
||||
#[cfg(windows)]
|
||||
mod threads;
|
||||
@@ -48,6 +50,8 @@ pub use prepare::{PrepareError, PreparedImage, prepare};
|
||||
pub use resolve::{ImportResolver, Provenance, Resolution};
|
||||
#[cfg(all(windows, feature = "diagnostics"))]
|
||||
pub use stacks::{dump_stacks, dump_stacks_on_schedule};
|
||||
#[cfg(all(windows, feature = "diagnostics"))]
|
||||
pub use profile::profile_on_schedule;
|
||||
#[cfg(windows)]
|
||||
pub use threads::disable_thread_calls;
|
||||
#[cfg(windows)]
|
||||
|
||||
Reference in new issue
Block a user