Data object used to store the measurements of a performance counter.
Description
The Counter class allows you to create data objects used to store the measurements of performance counters.
Important points
- This object is used by CachedCounters to store counters.
Constructors
Creates a instance of this object.
publicCounter(string name, CounterType type)
- name: string - counter’s name.
- type: CounterType - counter’s type.
Creates a instance of this object.
publicCounter()
Properties
Name
Counter’s unique name
publicstring Name { get; set; }
Type
Counter’s type that defines the measurement algorithm
publicCounterType Type { get; set; }
Last
Last recorded value
publicdouble Last { get; set; }
Min
Minimum value
publicdouble Min { get; set; }
Max
Maximum value
publicdouble Max { get; set; }
Average
Average value
publicdouble Average { get; set; }
Time
Recorded timestamp
publicDateTime Time { get; set; }