Class ProcessStatistics
Inheritance
System.Object
ProcessStatistics
Namespace: MediaBrowser.Model.ProcessRun.Metrics
Assembly: MediaBrowser.Model.dll
Syntax
public class ProcessStatistics
Constructors
ProcessStatistics()
Initializes a new instance of the ProcessStatistics class.
Declaration
public ProcessStatistics()
ProcessStatistics(Double, Double, Double, Double, ProcessMetricPoint[])
Initializes a new instance of the ProcessStatistics class.
Declaration
public ProcessStatistics(double currentCpu, double averageCpu, double currentVirtualMemory, double currentWorkingSet, ProcessMetricPoint[] metrics)
Parameters
Type | Name | Description |
---|---|---|
System.Double | currentCpu | The current cpu. |
System.Double | averageCpu | The average cpu. |
System.Double | currentVirtualMemory | The current virtual memory. |
System.Double | currentWorkingSet | The current working set. |
ProcessMetricPoint[] | metrics | The metrics. |
Properties
AverageCpu
Gets the average cpu.
Declaration
public double AverageCpu { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The average cpu. |
CurrentCpu
Gets the current cpu.
Declaration
public double CurrentCpu { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The current cpu. |
CurrentVirtualMemory
Gets the currently allocated virtual memory.
Declaration
public double CurrentVirtualMemory { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The currently allocated virtual memory. |
CurrentWorkingSet
Gets the currently allocated working set.
Declaration
public double CurrentWorkingSet { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The currently allocated working set. |
Metrics
Gets the metrics.
Declaration
public ProcessMetricPoint[] Metrics { get; set; }
Property Value
Type | Description |
---|---|
ProcessMetricPoint[] | The metrics. |
Methods
GetCpuHistory()
Gets the cpu history.
Declaration
public Tuple<double, double>[] GetCpuHistory()
Returns
Type | Description |
---|---|
System.Tuple<System.Double, System.Double>[] |