#[repr(C)]pub struct system_mem {Show 14 fields
pub mem_tech_node: c_int,
pub device_clock: c_int,
pub peak_transfer_rate: c_int,
pub internal_prefetch_of_DRAM_chip: c_int,
pub capacity_per_channel: c_int,
pub number_ranks: c_int,
pub num_banks_of_DRAM_chip: c_int,
pub Block_width_of_DRAM_chip: c_int,
pub output_width_of_DRAM_chip: c_int,
pub page_size_of_DRAM_chip: c_int,
pub burstlength_of_DRAM_chip: c_int,
pub memory_accesses: c_double,
pub memory_reads: c_double,
pub memory_writes: c_double,
}Fields§
§mem_tech_node: c_int§device_clock: c_int§peak_transfer_rate: c_int§internal_prefetch_of_DRAM_chip: c_int§capacity_per_channel: c_int§number_ranks: c_int§num_banks_of_DRAM_chip: c_int§Block_width_of_DRAM_chip: c_int§output_width_of_DRAM_chip: c_int§page_size_of_DRAM_chip: c_int§burstlength_of_DRAM_chip: c_int§memory_accesses: c_double§memory_reads: c_double§memory_writes: c_doubleTrait Implementations§
Source§impl Clone for system_mem
impl Clone for system_mem
Source§fn clone(&self) -> system_mem
fn clone(&self) -> system_mem
Returns a duplicate 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 system_mem
impl Debug for system_mem
impl Copy for system_mem
Auto Trait Implementations§
impl Freeze for system_mem
impl RefUnwindSafe for system_mem
impl Send for system_mem
impl Sync for system_mem
impl Unpin for system_mem
impl UnwindSafe for system_mem
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