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 ProcessMetric
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// CPU usage of the process.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public CPUUsage Cpu { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Memory information for the process.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public MemoryInfo Memory {get; set;}
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Process id of the process.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public int Pid { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Process type (Browser or Tab or GPU etc).
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string Type { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|