pub struct ProfilerStats {
pub active_sessions: usize,
pub completed_sessions: usize,
pub total_entries: usize,
pub avg_session_duration_ms: f64,
pub enabled: bool,
}Expand description
Profiler statistics.
Fields§
§active_sessions: usizeNumber of active profiling sessions
completed_sessions: usizeNumber of completed sessions
total_entries: usizeTotal number of profile entries
avg_session_duration_ms: f64Average session duration in milliseconds
enabled: boolWhether profiling is enabled
Trait Implementations§
Source§impl Clone for ProfilerStats
impl Clone for ProfilerStats
Source§fn clone(&self) -> ProfilerStats
fn clone(&self) -> ProfilerStats
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProfilerStats
impl Debug for ProfilerStats
Source§impl<'de> Deserialize<'de> for ProfilerStats
impl<'de> Deserialize<'de> for ProfilerStats
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ProfilerStats
impl RefUnwindSafe for ProfilerStats
impl Send for ProfilerStats
impl Sync for ProfilerStats
impl Unpin for ProfilerStats
impl UnsafeUnpin for ProfilerStats
impl UnwindSafe for ProfilerStats
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