pub struct RubyProfiler;Implementations§
Source§impl RubyProfiler
impl RubyProfiler
pub fn new() -> Self
Sourcepub fn profile_continuous(
&self,
ruby_file: &str,
) -> Result<ProfileResult, String>
pub fn profile_continuous( &self, ruby_file: &str, ) -> Result<ProfileResult, String>
Continuous profiling of Ruby applications using rbspy
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 RubyProfiler
impl RefUnwindSafe for RubyProfiler
impl Send for RubyProfiler
impl Sync for RubyProfiler
impl Unpin for RubyProfiler
impl UnwindSafe for RubyProfiler
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