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
NewCounter
Creates a instance of the data object.
NewCounter(name string, typ int) *Counter
- name: string - counter name.
- type: int - counter type.