C# Class NBench.Collection.Counters.CounterMetricCollector

A simple concurrent counter used for user-defined metrics
Inheritance: MetricCollector
Afficher le fichier Open project: petabridge/NBench

Méthodes publiques

Méthode Description
Collect ( ) : double
CounterMetricCollector ( MetricName name, AtomicCounter counter ) : NBench.Metrics
CounterMetricCollector ( MetricName name, string unitName, AtomicCounter counter ) : NBench.Metrics

Method Details

Collect() public méthode

public Collect ( ) : double
Résultat double

CounterMetricCollector() public méthode

public CounterMetricCollector ( MetricName name, AtomicCounter counter ) : NBench.Metrics
name MetricName
counter NBench.Util.AtomicCounter
Résultat NBench.Metrics

CounterMetricCollector() public méthode

public CounterMetricCollector ( MetricName name, string unitName, AtomicCounter counter ) : NBench.Metrics
name MetricName
unitName string
counter NBench.Util.AtomicCounter
Résultat NBench.Metrics