Enum hazardflow_designs::cpu::branch_predictor::bht::SatCounter
source · pub enum SatCounter {
StronglyNotTaken,
WeaklyNotTaken,
WeaklyTaken,
StronglyTaken,
}
Expand description
2-bit saturation counter.
Variants§
StronglyNotTaken
Strongly not taken.
WeaklyNotTaken
Weakly not taken.
WeaklyTaken
Weakly taken.
StronglyTaken
Strongly taken.
Implementations§
Trait Implementations§
source§impl Clone for SatCounter
impl Clone for SatCounter
source§fn clone(&self) -> SatCounter
fn clone(&self) -> SatCounter
Returns a copy 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 SatCounter
impl Debug for SatCounter
source§impl Default for SatCounter
impl Default for SatCounter
source§fn default() -> SatCounter
fn default() -> SatCounter
Returns the “default value” for a type. Read more
impl Copy for SatCounter
Auto Trait Implementations§
impl RefUnwindSafe for SatCounter
impl Send for SatCounter
impl Sync for SatCounter
impl Unpin for SatCounter
impl UnwindSafe for SatCounter
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