C# Class NBench.Counter

A high-performance, thread-safe counter class used to measure throughput on user-defined metrics
ファイルを表示 Open project: petabridge/NBench Class Usage Examples

Public Methods

Method Description
Decrement ( ) : void

Decrement the value of the counter by 1

Increment ( ) : void

Increment the value of the counter by 1

Private Methods

Method Description
Counter ( AtomicCounter internalCounter, CounterMetricName name ) : NBench.Metrics

Method Details

Decrement() public method

Decrement the value of the counter by 1
public Decrement ( ) : void
return void

Increment() public method

Increment the value of the counter by 1
public Increment ( ) : void
return void