pub struct NodeInfo {
pub level: usize,
pub asap: u64,
pub alap: u64,
pub slack: u64,
pub on_critical_path: bool,
}Expand description
Scheduling metadata for a single node, produced by TopoAnalysis.
Fields§
§level: usizeTopological level (longest path in edges from any source).
asap: u64As-Soon-As-Possible time (cost-weighted earliest start).
alap: u64As-Late-As-Possible time (cost-weighted latest start, critical-path constrained).
slack: u64Slack = alap - asap. Zero means the node is on the critical path.
on_critical_path: boolWhether this node lies on the critical path.
Implementations§
Trait Implementations§
impl Eq for NodeInfo
impl StructuralPartialEq for NodeInfo
Auto Trait Implementations§
impl Freeze for NodeInfo
impl RefUnwindSafe for NodeInfo
impl Send for NodeInfo
impl Sync for NodeInfo
impl Unpin for NodeInfo
impl UnsafeUnpin for NodeInfo
impl UnwindSafe for NodeInfo
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