pub struct Cache<'buffer> {Show 13 fields
pub handle: u16,
pub socket_designation: &'buffer str,
pub cache_configuration: CacheConfiguration,
pub maximum_cache_size: CacheSize,
pub installed_size: CacheSize,
pub supported_sram_type: CacheSramType,
pub current_sram_type: CacheSramType,
pub cache_speed: Option<u8>,
pub error_correction_type: Option<CacheErrorCorrectionType>,
pub system_cache_type: Option<SystemCacheType>,
pub associativity: Option<CacheAssociativity>,
pub maximum_cache_size_2: Option<CacheSize2>,
pub installed_size_2: Option<CacheSize2>,
}Expand description
The Cache Information table defined in the SMBIOS specification.
Optional fields will only be set if the version of the parsed SMBIOS table is high enough to have defined the field.
Fields§
§handle: u16§socket_designation: &'buffer strString number for reference designation EXAMPLE: “CACHE1”, 0
cache_configuration: CacheConfigurationCache Configuration
maximum_cache_size: CacheSizeMaximum size that can be installed
installed_size: CacheSizeSame format as Max Cache Size field; set to 0 if no cache is installed
supported_sram_type: CacheSramTypeSupported SRAM Type
current_sram_type: CacheSramTypeCurrent SRAM Type
cache_speed: Option<u8>Cache module speed, in nanoseconds. The value is 0 if the speed is unknown.
error_correction_type: Option<CacheErrorCorrectionType>Error-correction scheme supported by this cache component
system_cache_type: Option<SystemCacheType>Logical type of cache
associativity: Option<CacheAssociativity>Associativity of the cache
maximum_cache_size_2: Option<CacheSize2>If this field is present, for cache sizes of 2047 MB or smaller the value in the Max size in given granularity portion of the field equals the size given in the corresponding portion of the Maximum Cache Size field, and the Granularity bit matches the value of the Granularity bit in the Maximum Cache Size field. For Cache sizes greater than 2047 MB, the Maximum Cache Size field is set to 0xFFFF and the Maximum Cache Size 2 field is present, the Granularity bit is set to 1b, and the size set as required;
installed_size_2: Option<CacheSize2>Same format as Maximum Cache Size 2 field; Absent or set to 0 if no cache is installed.