2017-10-14 00:06:58 +02:00
|
|
|
|
namespace ElectronNET.API.Entities
|
|
|
|
|
|
{
|
2017-10-24 21:43:27 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
///
|
|
|
|
|
|
/// </summary>
|
2017-10-14 00:06:58 +02:00
|
|
|
|
public class CPUUsage
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
2020-05-31 03:09:54 +02:00
|
|
|
|
/// Percentage of CPU used since the last call to getCPUUsage. First call returns 0.
|
2017-10-14 00:06:58 +02:00
|
|
|
|
/// </summary>
|
2025-11-09 12:05:07 +01:00
|
|
|
|
public double PercentCPUUsage { get; set; }
|
2017-10-14 00:06:58 +02:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2025-11-15 08:05:31 +01:00
|
|
|
|
/// The number of average idle cpu wakeups per second since the last call to
|
2020-05-31 03:09:54 +02:00
|
|
|
|
/// getCPUUsage.First call returns 0.
|
2017-10-14 00:06:58 +02:00
|
|
|
|
/// </summary>
|
2020-05-31 03:09:54 +02:00
|
|
|
|
public int IdleWakeupsPerSecond { get; set; }
|
2017-10-14 00:06:58 +02:00
|
|
|
|
}
|
2025-11-15 08:05:31 +01:00
|
|
|
|
}
|