Creates a new instance of the counter.
Begins measurement of execution time interval. It returns CounterTiming object which has to be called at CounterTiming.endTiming to end the measurement and update the counter.
a counter name of Interval type.
a CounterTiming callback object to end timing.
Increments counter by given value.
a counter name of Increment type.
a value to add to the counter.
Increments counter by 1.
a counter name of Increment type.
Records the last calculated measurement value.
Usually this method is used by metrics calculated externally.
a counter name of Last type.
a last value to record.
Calculates min/average/max statistics based on the current and previous values.
a counter name of Statistics type
a value to update statistics
Records the given timestamp.
a counter name of Timestamp type.
a timestamp to record.
Records the current time as a timestamp.
a counter name of Timestamp type.
Generated using TypeDoc
Dummy implementation of performance counters that doesn't do anything.
It can be used in testing or in situations when counters is required but shall be disabled.
ICounters