예제 #1
0
파일: Metrics.cs 프로젝트: lanicon/nesper
 /// <summary>
 ///     Creates a new <seealso cref="Histogram" /> and registers it under the given
 ///     class and name.
 /// </summary>
 /// <param name="klass">the class which owns the metric</param>
 /// <param name="name">the name of the metric</param>
 /// <param name="biased">whether or not the histogram should be biased</param>
 /// <returns>a new <seealso cref="Histogram" /></returns>
 public static Histogram NewHistogram(
     Type klass,
     string name,
     bool biased)
 {
     return DEFAULT_REGISTRY.NewHistogram(klass, name, biased);
 }