pub struct ArchSide {
pub microarch: String,
pub pack_name: String,
pub brand: String,
pub fingerprint: Option<String>,
pub threads: usize,
pub cores: usize,
pub domains: usize,
pub l1d_bytes: u64,
pub l2_bytes: u64,
pub l3_bytes: u64,
pub provenance: String,
}Expand description
One side of an architecture comparison.
Fields§
§microarch: StringMicroarchitecture tag.
pack_name: StringKnowledge pack name.
brand: StringBrand / mock brand.
fingerprint: Option<String>Fingerprint when supported.
threads: usizeLogical thread count.
cores: usizePhysical core count (best-effort).
domains: usizeDomain (CCD) count.
l1d_bytes: u64Typical L1D bytes.
l2_bytes: u64Typical L2 bytes.
l3_bytes: u64Aggregate L3 bytes across domains.
provenance: StringPack provenance note.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ArchSide
impl<'de> Deserialize<'de> for ArchSide
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ArchSide
impl RefUnwindSafe for ArchSide
impl Send for ArchSide
impl Sync for ArchSide
impl Unpin for ArchSide
impl UnsafeUnpin for ArchSide
impl UnwindSafe for ArchSide
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