pub struct FlameFrame {
pub name: String,
pub depth: usize,
pub cost: u64,
pub x_offset: u64,
pub resource_type: Option<ResourceType>,
pub cost_by_type: BTreeMap<String, u64>,
pub duration_us: u64,
pub lease_ids: Vec<u128>,
}Expand description
A single frame in the flame graph.
Fields§
§name: StringSpan name (or aggregated name for merged siblings).
depth: usizeDepth in the call hierarchy (0 = bottom/root).
cost: u64Width as lease cost in byte-seconds.
x_offset: u64X offset within the parent (for positioning).
resource_type: Option<ResourceType>Dominant resource type (for coloring).
cost_by_type: BTreeMap<String, u64>Per-resource-type cost breakdown.
duration_us: u64Duration in microseconds.
lease_ids: Vec<u128>Lease IDs touched.
Trait Implementations§
Source§impl Clone for FlameFrame
impl Clone for FlameFrame
Source§fn clone(&self) -> FlameFrame
fn clone(&self) -> FlameFrame
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 moreAuto Trait Implementations§
impl Freeze for FlameFrame
impl RefUnwindSafe for FlameFrame
impl Send for FlameFrame
impl Sync for FlameFrame
impl Unpin for FlameFrame
impl UnwindSafe for FlameFrame
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