pub struct FlameGraphNode {
pub id: Uuid,
pub function_name: String,
pub module_name: Option<String>,
pub sample_count: u64,
pub percentage: f64,
pub self_time_us: u64,
pub total_time_us: u64,
pub depth: u32,
pub parent_id: Option<Uuid>,
pub children: Vec<Uuid>,
pub color: String,
}
Expand description
Flame graph node
Fields§
§id: Uuid
Node ID
function_name: String
Function name
module_name: Option<String>
Module name
sample_count: u64
Sample count
percentage: f64
Percentage of total samples
self_time_us: u64
Self time (excluding children)
total_time_us: u64
Total time (including children)
depth: u32
Stack depth
parent_id: Option<Uuid>
Parent node ID
children: Vec<Uuid>
Child node IDs
color: String
Color for visualization
Trait Implementations§
Source§impl Clone for FlameGraphNode
impl Clone for FlameGraphNode
Source§fn clone(&self) -> FlameGraphNode
fn clone(&self) -> FlameGraphNode
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 FlameGraphNode
impl Debug for FlameGraphNode
Source§impl<'de> Deserialize<'de> for FlameGraphNode
impl<'de> Deserialize<'de> for FlameGraphNode
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 FlameGraphNode
impl RefUnwindSafe for FlameGraphNode
impl Send for FlameGraphNode
impl Sync for FlameGraphNode
impl Unpin for FlameGraphNode
impl UnwindSafe for FlameGraphNode
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