Class CPU
Information about the SBC's CPU
Inherited Members
Namespace: DuetAPI.ObjectModel
Assembly: DuetAPI.dll
Syntax
public class CPU : ModelObject, IModelObject, ICloneable, INotifyPropertyChanged, INotifyPropertyChanging
Properties
AvgLoad
Average CPU load (0..100%) or null if unknown
Declaration
public float? AvgLoad { get; set; }
Property Value
Type | Description |
---|---|
float? |
Hardware
CPU hardware as reported by /proc/cpuinfo
Declaration
public string? Hardware { get; set; }
Property Value
Type | Description |
---|---|
string |
NumCores
Number of CPU cores/threads (defaults to 1)
Declaration
public int NumCores { get; set; }
Property Value
Type | Description |
---|---|
int |
Temperature
Current CPU temperature (in degC) or null if unknown
Declaration
public float? Temperature { get; set; }
Property Value
Type | Description |
---|---|
float? |