pub struct RduCreditRow {
pub edge: usize,
pub from: usize,
pub to: usize,
pub hops: usize,
pub forward_latency: usize,
pub backward_latency: usize,
pub n_buffer_depth: usize,
pub credit_depth: usize,
pub depth: usize,
}Expand description
One IR edge’s credit loop on the unit model.
Fields§
§edge: usizeThe IR edge id.
from: usizeWriter and (farthest) reader stage ids.
to: usize§hops: usizeMesh hops between them, from the placement.
forward_latency: usizeProducing the item (the writer’s latency when it is a compute stage; the declared fetch latency when it is a load and the latencies are declared) plus carrying it.
backward_latency: usizeCarrying the freed credit back: the hops, plus the declared page service and credit return.
n_buffer_depth: usizeSpatial’s writer-to-reader N-buffer rule for a compute→compute edge; the vendor’s double-buffering discipline otherwise.
credit_depth: usizeThe bandwidth-delay solve.
depth: usizeThe deeper of the two.
Trait Implementations§
Source§impl Clone for RduCreditRow
impl Clone for RduCreditRow
Source§fn clone(&self) -> RduCreditRow
fn clone(&self) -> RduCreditRow
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 RduCreditRow
impl Debug for RduCreditRow
Source§impl PartialEq for RduCreditRow
impl PartialEq for RduCreditRow
Source§impl Serialize for RduCreditRow
impl Serialize for RduCreditRow
impl Eq for RduCreditRow
impl StructuralPartialEq for RduCreditRow
Auto Trait Implementations§
impl Freeze for RduCreditRow
impl RefUnwindSafe for RduCreditRow
impl Send for RduCreditRow
impl Sync for RduCreditRow
impl Unpin for RduCreditRow
impl UnsafeUnpin for RduCreditRow
impl UnwindSafe for RduCreditRow
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> DowncastSync for T
impl<T> DowncastSync for T
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.