pub struct Aftermath { /* private fields */ }
Expand description
An instance of an Aftermath minidump generator.
This is equivalent to the GpuCrashTracker found in the github examples at: https://github.com/NVIDIA/nsight-aftermath-samples/blob/master/VkHelloNsightAftermath/NsightAftermathGpuCrashTracker.cpp
Implementations§
Source§impl Aftermath
impl Aftermath
pub fn initialize() -> Result<Self, GFSDK_Aftermath_Result>
Sourcepub fn wait_for_dump(&self)
pub fn wait_for_dump(&self)
This is a handler for when a Device lost error is found. You call this and this crate takes care of waiting for the dump to finish
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Aftermath
impl RefUnwindSafe for Aftermath
impl Send for Aftermath
impl Sync for Aftermath
impl Unpin for Aftermath
impl UnwindSafe for Aftermath
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more