Skip to main content

ProcessorMetrics

Struct ProcessorMetrics 

Source
pub struct ProcessorMetrics {
Show 25 fields pub base: Resource, pub bandwidth_percent: Option<Option<Decimal>>, pub average_frequency_mhz: Option<Option<Decimal>>, pub throttling_celsius: Option<Option<Decimal>>, pub temperature_celsius: Option<Option<Decimal>>, pub consumed_power_watt: Option<Option<Decimal>>, pub frequency_ratio: Option<Option<Decimal>>, pub cache: Option<Vec<CacheMetrics>>, pub local_memory_bandwidth_bytes: Option<Option<Int64>>, pub remote_memory_bandwidth_bytes: Option<Option<Int64>>, pub kernel_percent: Option<Option<Decimal>>, pub user_percent: Option<Option<Decimal>>, pub core_metrics: Option<Vec<CoreMetrics>>, pub actions: Option<Actions>, pub operating_speed_mhz: Option<Option<Int64>>, pub cache_metrics_total: Option<CacheMetricsTotal>, pub pcie_errors: Option<PcieErrors>, pub correctable_core_error_count: Option<Option<Int64>>, pub uncorrectable_core_error_count: Option<Option<Int64>>, pub correctable_other_error_count: Option<Option<Int64>>, pub uncorrectable_other_error_count: Option<Option<Int64>>, pub power_limit_throttle_duration: Option<Option<Duration>>, pub thermal_limit_throttle_duration: Option<Option<Duration>>, pub lifetime_start_date_time: Option<Option<DateTimeOffset>>, pub core_voltage: Option<SensorExcerptVoltage>,
}
Expand description

The ProcessorMetrics schema contains usage and health statistics for a processor.

This resource contains the processor metrics for a single processor in a Redfish implementation.

Fields§

§base: Resource

Base type

§bandwidth_percent: Option<Option<Decimal>>

The bandwidth usage of this processor as a percentage.

This property shall contain the bandwidth usage of the processor as a percentage, typically 0 to 100. When this resource is subordinate to the ProcessorSummary object, this property shall be the CPU utilization over all processors as a percentage.

§average_frequency_mhz: Option<Option<Decimal>>

The average frequency of the processor.

This property shall contain average frequency in MHz, across all enabled cores in the processor. When this resource is subordinate to the ProcessorSummary object, this property is not applicable.

§throttling_celsius: Option<Option<Decimal>>

The CPU margin to throttle (temperature offset in degree Celsius units).

This property shall contain the CPU margin to throttle based on an offset between the maximum temperature in which the processor can operate, and the processor’s current temperature. When this resource is subordinate to the ProcessorSummary object, this property is not applicable.

§temperature_celsius: Option<Option<Decimal>>

The temperature of the processor.

This property shall contain the temperature, in degree Celsius units, of the processor. When this resource is subordinate to the ProcessorSummary object, this property shall be the average temperature, in Celsius, over all processors.

§consumed_power_watt: Option<Option<Decimal>>

The power, in watt units, that the processor has consumed.

This property shall contain the power, in watt units, that the processor has consumed. When this resource is subordinate to the ProcessorSummary object, this property shall be the sum of power, in watt units, that all processors have consumed.

§frequency_ratio: Option<Option<Decimal>>

The frequency relative to the nominal processor frequency ratio.

This property shall contain the frequency relative to the nominal processor frequency ratio of this processor. When this resource is subordinate to the ProcessorSummary object, this property shall be the average FrequencyRatio over all processors.

§cache: Option<Vec<CacheMetrics>>

The processor cache metrics.

This property shall contain properties that describe this processor’s cache. When this resource is subordinate to the ProcessorSummary object, this property is not applicable.

§local_memory_bandwidth_bytes: Option<Option<Int64>>

The local memory bandwidth usage in bytes.

This property shall contain the local memory bandwidth usage of this processor in bytes. When this resource is subordinate to the ProcessorSummary object, this property shall be the sum of LocalMemoryBandwidthBytes over all processors.

§remote_memory_bandwidth_bytes: Option<Option<Int64>>

The remote memory bandwidth usage in bytes.

This property shall contain the remote memory bandwidth usage of this processor in bytes. When this resource is subordinate to the ProcessorSummary object, this property shall be the sum of RemoteMemoryBandwidthBytes over all processors.

§kernel_percent: Option<Option<Decimal>>

The percentage of time spent in kernel mode.

This property shall contain total percentage of time, 0 to 100, the processor has spent in kernel mode. When this resource is subordinate to the ProcessorSummary object, this property shall be the average KernelPercent over all processors.

§user_percent: Option<Option<Decimal>>

The percentage of time spent in user mode.

This property shall contain total percentage of time, 0 to 100, the processor has spent in user mode. When this resource is subordinate to the ProcessorSummary object, this property shall be the average UserPercent over all processors.

§core_metrics: Option<Vec<CoreMetrics>>

The processor core metrics.

This property shall contain properties that describe the cores of this processor. When this resource is subordinate to the ProcessorSummary object, this property is not applicable.

§actions: Option<Actions>

The available actions for this resource.

This property shall contain the available actions for this resource.

§operating_speed_mhz: Option<Option<Int64>>

Operating speed of the processor in MHz.

This property shall contain the operating speed of the processor in MHz. The operating speed of the processor may change more frequently than the manager is able to monitor.

§cache_metrics_total: Option<CacheMetricsTotal>

The total cache metrics for this processor.

This property shall contain properties that describe the metrics for all of the cache memory of this processor.

§pcie_errors: Option<PcieErrors>

The PCIe errors associated with this processor.

This property shall contain the PCIe errors associated with this processor.

§correctable_core_error_count: Option<Option<Int64>>

The number of correctable core errors.

This property shall contain the number of correctable core errors, such as TLB or cache errors. When this resource is subordinate to the ProcessorSummary object, this property shall be the sum of CorrectableCoreErrorCount over all processors.

§uncorrectable_core_error_count: Option<Option<Int64>>

The number of uncorrectable core errors.

This property shall contain the number of uncorrectable core errors, such as TLB or cache errors. When this resource is subordinate to the ProcessorSummary object, this property shall be the sum of UncorrectableCoreErrorCount over all processors.

§correctable_other_error_count: Option<Option<Int64>>

The number of correctable errors of all other components.

This property shall contain the number of correctable errors of all other components. When this resource is subordinate to the ProcessorSummary object, this property shall be the sum of CorrectableOtherErrorCount over all processors.

§uncorrectable_other_error_count: Option<Option<Int64>>

The number of uncorrectable errors of all other components.

This property shall contain the number of uncorrectable errors of all other components. When this resource is subordinate to the ProcessorSummary object, this property shall be the sum of UncorrectableOtherErrorCount over all processors.

§power_limit_throttle_duration: Option<Option<Duration>>

The total duration of throttling caused by a power limit of the processor since reset.

This property shall contain the total duration of throttling caused by a power limit of the processor since reset.

§thermal_limit_throttle_duration: Option<Option<Duration>>

The total duration of throttling caused by a thermal limit of the processor since reset.

This property shall contain the total duration of throttling caused by a thermal limit of the processor since reset.

§lifetime_start_date_time: Option<Option<DateTimeOffset>>

The date and time when the processor started accumulating data for the LifeTime property.

This property shall contain the date and time when the processor started accumulating data for the LifeTime property. This might contain the same value as the production date of the processor.

§core_voltage: Option<SensorExcerptVoltage>

The core voltage (V) of this processor.

The value of this property shall contain the core voltage, in volt units, of this processor. The core voltage of the processor may change more frequently than the manager is able to monitor. The value of the DataSourceUri property, if present, shall reference a resource of type Sensor with the ReadingType property containing the value Voltage.

Trait Implementations§

Source§

impl Debug for ProcessorMetrics

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for ProcessorMetrics

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl EntityTypeRef for ProcessorMetrics

Source§

fn odata_id(&self) -> &ODataId

Value of @odata.id field of the Entity.
Source§

fn etag(&self) -> Option<&ODataETag>

Value of @odata.etag field of the Entity.
Source§

fn refresh<B>( &self, bmc: &B, ) -> impl Future<Output = Result<Arc<Self>, <B as Bmc>::Error>> + Send
where B: Bmc, Self: Sized + Sync + Send + 'static + for<'de> Deserialize<'de>,

Refresh the entity by fetching it again from the BMC.
Source§

impl Expandable for ProcessorMetrics

Source§

fn expand<B>( &self, bmc: &B, query: ExpandQuery, ) -> impl Future<Output = Result<Arc<Self>, <B as Bmc>::Error>> + Send
where B: Bmc,

Expand the entity according to the provided query.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,