pub struct Timing {
pub latency: u32,
pub unit: Unit,
}Expand description
What one instruction costs.
Fields§
§latency: u32How many cycles after it starts before what it wrote may be read.
Zero for an instruction that encodes to nothing, which several of this machine’s do: they are there to tell the allocator where a value already is, and a schedule that thought they took a cycle would be a schedule built around instructions that are not in the output.
unit: UnitWhich part of the machine it is using while it runs.
Trait Implementations§
impl Copy for Timing
impl Eq for Timing
impl StructuralPartialEq for Timing
Auto Trait Implementations§
impl Freeze for Timing
impl RefUnwindSafe for Timing
impl Send for Timing
impl Sync for Timing
impl Unpin for Timing
impl UnsafeUnpin for Timing
impl UnwindSafe for Timing
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