pub struct LockProfile {
pub start_time: u64,
pub end_time: u64,
pub contentions: HashMap<(u64, Stack), LockContentionStats>,
pub total_events: u64,
}Expand description
Profile of lock contention events
Fields§
§start_time: u64§end_time: u64§contentions: HashMap<(u64, Stack), LockContentionStats>§total_events: u64Implementations§
Trait Implementations§
Source§impl Clone for LockProfile
impl Clone for LockProfile
Source§fn clone(&self) -> LockProfile
fn clone(&self) -> LockProfile
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LockProfile
impl Debug for LockProfile
Source§impl<'de> Deserialize<'de> for LockProfile
impl<'de> Deserialize<'de> for LockProfile
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 LockProfile
impl RefUnwindSafe for LockProfile
impl Send for LockProfile
impl Sync for LockProfile
impl Unpin for LockProfile
impl UnsafeUnpin for LockProfile
impl UnwindSafe for LockProfile
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