pub struct ProcessingElement { /* private fields */ }Implementations§
Source§impl ProcessingElement
impl ProcessingElement
pub fn new_and_register_with_renames( engine: &Engine, clock: &Clock, parent: &Rc<Entity>, name: &str, aka: Option<&Aka>, memory_map: &Rc<MemoryMap>, pe_config: &ProcessingElementConfig, device_id: DeviceId, ) -> Result<Rc<Self>, SimError>
pub fn new_and_register( engine: &Engine, clock: &Clock, parent: &Rc<Entity>, name: &str, memory_map: &Rc<MemoryMap>, pe_config: &ProcessingElementConfig, device_id: DeviceId, ) -> Result<Rc<Self>, SimError>
pub fn set_dispatcher(&self, dispatcher: &Rc<dyn Dispatch>)
pub fn connect_port_tx( &self, port_state: PortStateResult<MemoryAccess>, ) -> SimResult
pub fn port_rx(&self) -> PortStateResult<MemoryAccess>
pub fn total_graph_nodes(&self) -> usize
pub fn total_flops(&self) -> usize
pub fn machine_ops(&self) -> MachineOpCounts
pub fn dump_stats(&self, time_now_ns: f64)
Trait Implementations§
Source§impl Display for ProcessingElement
impl Display for ProcessingElement
Auto Trait Implementations§
impl !Freeze for ProcessingElement
impl !RefUnwindSafe for ProcessingElement
impl !Send for ProcessingElement
impl !Sync for ProcessingElement
impl !UnwindSafe for ProcessingElement
impl Unpin for ProcessingElement
impl UnsafeUnpin for ProcessingElement
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