pub struct ProfileSession {
pub root_operation: String,
pub entries: Vec<ProfileEntry>,
pub total_duration_ms: u64,
pub start_timestamp: u64,
}Expand description
A profiling session containing multiple entries.
Fields§
§root_operation: StringRoot operation name
entries: Vec<ProfileEntry>All entries in this session
total_duration_ms: u64Total duration of the session
start_timestamp: u64Session start time
Implementations§
Source§impl ProfileSession
impl ProfileSession
Sourcepub fn call_tree(&self) -> CallTreeNode
pub fn call_tree(&self) -> CallTreeNode
Get the call tree for this session.
Trait Implementations§
Source§impl Clone for ProfileSession
impl Clone for ProfileSession
Source§fn clone(&self) -> ProfileSession
fn clone(&self) -> ProfileSession
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 ProfileSession
impl Debug for ProfileSession
Source§impl<'de> Deserialize<'de> for ProfileSession
impl<'de> Deserialize<'de> for ProfileSession
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 ProfileSession
impl RefUnwindSafe for ProfileSession
impl Send for ProfileSession
impl Sync for ProfileSession
impl Unpin for ProfileSession
impl UnsafeUnpin for ProfileSession
impl UnwindSafe for ProfileSession
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