pub struct Profiler { /* private fields */ }Expand description
Performance profiler that combines multiple measurement tools.
Implementations§
Source§impl Profiler
impl Profiler
Sourcepub fn memory_tracker(&self) -> &Arc<MemoryTracker>
pub fn memory_tracker(&self) -> &Arc<MemoryTracker>
Get a reference to the memory tracker.
Sourcepub fn throughput_meter(&self) -> &Arc<ThroughputMeter>
pub fn throughput_meter(&self) -> &Arc<ThroughputMeter>
Get a reference to the throughput meter.
Sourcepub fn get_report(&self) -> PerformanceReport
pub fn get_report(&self) -> PerformanceReport
Get a comprehensive performance report.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Profiler
impl RefUnwindSafe for Profiler
impl Send for Profiler
impl Sync for Profiler
impl Unpin for Profiler
impl UnsafeUnpin 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