pub struct CppProfiler;Implementations§
Source§impl CppProfiler
impl CppProfiler
pub fn new() -> Self
Sourcepub fn profile_continuous(
&self,
cpp_binary: &str,
) -> Result<ProfileResult, String>
pub fn profile_continuous( &self, cpp_binary: &str, ) -> Result<ProfileResult, String>
Continuous profiling of C++ applications using platform-specific profilers Runs until the process exits or is interrupted
Sourcepub fn profile_pid(&self, pid: u32) -> Result<ProfileResult, String>
pub fn profile_pid(&self, pid: u32) -> Result<ProfileResult, String>
Profile by attaching to PID
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CppProfiler
impl RefUnwindSafe for CppProfiler
impl Send for CppProfiler
impl Sync for CppProfiler
impl Unpin for CppProfiler
impl UnwindSafe for CppProfiler
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