Class CpuData
- Namespace
- Arc4u.Diagnostics.Monitoring
- Assembly
- Arc4u.Diagnostics.dll
Holds the CPU usage of the current process, expressed as a percentage of the total CPU capacity.
[Obsolete("Logging the CPU and memory usage is deprecated and will be removed in a future major version. Collect the .NET runtime and process metrics with OpenTelemetry instead (see https://arc4u-org.github.io/Arc4u/guides/diagnostics/index.html#log-cpu-and-memory-usage).")]
public class CpuData
- Inheritance
-
CpuData
- Inherited Members
Properties
PrivilegedCpuUsed
Gets or sets the CPU used in privileged (kernel) mode (percentage).
public double PrivilegedCpuUsed { get; set; }
Property Value
TotalCpuUsed
Gets or sets the total CPU used (percentage).
public double TotalCpuUsed { get; set; }
Property Value
UserCpuUsed
Gets or sets the CPU used in user mode (percentage).
public double UserCpuUsed { get; set; }