Struct sigar_sys::sigar_cpu_info_t
source · #[repr(C)]pub struct sigar_cpu_info_t {
pub vendor: [c_char; 128],
pub model: [c_char; 128],
pub mhz: c_int,
pub mhz_max: c_int,
pub mhz_min: c_int,
pub cache_size: sigar_uint64_t,
pub total_sockets: c_int,
pub total_cores: c_int,
pub cores_per_socket: c_int,
}
Fields§
§vendor: [c_char; 128]
§model: [c_char; 128]
§mhz: c_int
§mhz_max: c_int
§mhz_min: c_int
§cache_size: sigar_uint64_t
§total_sockets: c_int
§total_cores: c_int
§cores_per_socket: c_int
Trait Implementations§
source§impl Clone for sigar_cpu_info_t
impl Clone for sigar_cpu_info_t
source§fn clone(&self) -> sigar_cpu_info_t
fn clone(&self) -> sigar_cpu_info_t
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 more