[][src]Struct libpapi_sys::_papi_hw_info

#[repr(C)]pub struct _papi_hw_info {
    pub ncpu: c_int,
    pub threads: c_int,
    pub cores: c_int,
    pub sockets: c_int,
    pub nnodes: c_int,
    pub totalcpus: c_int,
    pub vendor: c_int,
    pub vendor_string: [c_char; 128],
    pub model: c_int,
    pub model_string: [c_char; 128],
    pub revision: f32,
    pub cpuid_family: c_int,
    pub cpuid_model: c_int,
    pub cpuid_stepping: c_int,
    pub cpu_max_mhz: c_int,
    pub cpu_min_mhz: c_int,
    pub mem_hierarchy: PAPI_mh_info_t,
    pub virtualized: c_int,
    pub virtual_vendor_string: [c_char; 128],
    pub virtual_vendor_version: [c_char; 128],
    pub mhz: f32,
    pub clock_mhz: c_int,
    pub reserved: [c_int; 8],
}

@ingroup papi_data_structures @brief Hardware info structure

Fields

ncpu: c_int

< Number of CPUs per NUMA Node

threads: c_int

< Number of hdw threads per core

cores: c_int

< Number of cores per socket

sockets: c_int

< Number of sockets

nnodes: c_int

< Total Number of NUMA Nodes

totalcpus: c_int

< Total number of CPUs in the entire system

vendor: c_int

< Vendor number of CPU

vendor_string: [c_char; 128]

< Vendor string of CPU

model: c_int

< Model number of CPU

model_string: [c_char; 128]

< Model string of CPU

revision: f32

< Revision of CPU

cpuid_family: c_int

< cpuid family

cpuid_model: c_int

< cpuid model

cpuid_stepping: c_int

< cpuid stepping

cpu_max_mhz: c_int

< Maximum supported CPU speed

cpu_min_mhz: c_int

< Minimum supported CPU speed

mem_hierarchy: PAPI_mh_info_t

< PAPI memory hierarchy description

virtualized: c_int

< Running in virtual machine

virtual_vendor_string: [c_char; 128]virtual_vendor_version: [c_char; 128]mhz: f32

< Deprecated

clock_mhz: c_int

< Deprecated

reserved: [c_int; 8]

Trait Implementations

impl Clone for _papi_hw_info[src]

impl Copy for _papi_hw_info[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.