App Metrics Fork me on GitHub
Show / Hide Table of Contents

Namespace App.Metrics.Timer

Classes

DefaultTimerBuilder

DefaultTimerMetric

DefaultTimerMetricProvider

TimerExtensions

TimerValue

The value reported by a Timer Metric

TimerValueSource

Combines the value of the timer with the defined unit and the time units for rate and duration.

TimerValueSourceSerializationExtensions

Structs

TimerContext

This struct is meant to be returned by the timer.NewContext() method and is intended to be used inside a using statement:

using(timer.NewContext())
{
ExecuteMethodThatNeedsMonitoring();
}
Double disposing the instance, or a copy of the instance (since it is a struct) will cause the timer to record wrong values. Stick to directly passing it to the using() statement.

Back to top Copyright © 2017 Allan Hardy
Generated by DocFX