Struct amdgpu_sysfs::hw_mon::HwMon [−][src]
pub struct HwMon { /* fields omitted */ }
Expand description
Rerepesents a hardware monitor. Hardware monitors are used to report real-time information about the device, such as temperatures and power usage.
Implementations
Most of the time you may want to access HwMon
s through the
GpuController they’re bound to.
Returns a HashMap of temperatures(in degress celsius), indexed by the labels (example: “edge”).
Gets the current GFX/compute clockspeed in MHz.
Gets the current memory clockspeed in MHz.
Gets the average power (currently) used by the GPU in watts.
Gets the current power cap of the GPU in watts.
Gets the maximum possible power cap for the GPU in watts. If overclocking is disabled, this is probably the same as the default cap.
Gets the minimum possible power cap for the GPU in watts.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for HwMon
impl UnwindSafe for HwMon