Class PerformanceCounterValue
A single value for a performance counter.
Inheritance
System.Object
PerformanceCounterValue
Assembly: Eco.Shared.dll
public sealed class PerformanceCounterValue : ValueType
Properties
Context
Declaration
public object Context { get; set; }
Property Value
Type |
Description |
System.Object |
|
Declaration
public TimeSpan Duration { get; set; }
Property Value
Type |
Description |
System.TimeSpan |
|
Declaration
public string Name { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public int ThreadId { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
public string ThreadName { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public TimeSpan Time { get; set; }
Property Value
Type |
Description |
System.TimeSpan |
|
Methods
Declaration
public void Init(TimeSpan time, TimeSpan duration, int threadId, string threadName, string name, object context)
Parameters
Type |
Name |
Description |
System.TimeSpan |
time |
|
System.TimeSpan |
duration |
|
System.Int32 |
threadId |
|
System.String |
threadName |
|
System.String |
name |
|
System.Object |
context |
|
Extension Methods