pub struct Profiler { /* private fields */ }Implementations§
Source§impl Profiler
impl Profiler
pub fn new(language: Language) -> Self
pub fn profile_continuous( &self, file_path: &str, ) -> Result<ProfileResult, Error>
pub fn profile_pid(&self, pid: u32) -> Result<ProfileResult, Error>
pub fn profile_to_common_format( &self, file_path: &str, ) -> Result<CommonProfileData, Error>
Auto Trait Implementations§
impl Freeze for Profiler
impl RefUnwindSafe for Profiler
impl Send for Profiler
impl Sync for Profiler
impl Unpin for Profiler
impl UnwindSafe for Profiler
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