C# Class NBench.Counter

A high-performance, thread-safe counter class used to measure throughput on user-defined metrics
Afficher le fichier Open project: petabridge/NBench Class Usage Examples

Méthodes publiques

Méthode Description
Decrement ( ) : void

Decrement the value of the counter by 1

Increment ( ) : void

Increment the value of the counter by 1

Private Methods

Méthode Description
Counter ( AtomicCounter internalCounter, CounterMetricName name ) : NBench.Metrics

Method Details

Decrement() public méthode

Decrement the value of the counter by 1
public Decrement ( ) : void
Résultat void

Increment() public méthode

Increment the value of the counter by 1
public Increment ( ) : void
Résultat void