Struct caminos_lib::Phit [−][src]
pub struct Phit {
pub packet: Rc<Packet>,
pub index: usize,
pub virtual_channel: RefCell<Option<usize>>,
}
Expand description
Minimal unit to be processed by the network. Not to be confused with flits.
Fields
packet: Rc<Packet>
The packet to what this phit belongs
index: usize
position inside the packet
virtual_channel: RefCell<Option<usize>>
The virtual channel in which this phit should be inserted
Implementations
Trait Implementations
Get the total memory currently being employed by the implementing type. Both stack and heap.
Prints by stdout how much memory is used per component.
Get an estimation on how much memory the type could reach during the simulation.