C# Class NBench.PerformanceCounters.PerformanceCounterThroughputAssertionAttribute

Performs an assertion against PerformanceCounter values collected over the course of a benchmark. This asserts the PERFORMANCE COUNTER VALUES / SECOND averaged over all runs of a benchmark.
Inheritance: PerformanceCounterMeasurementAttribute
Show file Open project: petabridge/NBench

Public Methods

Method Description
PerformanceCounterThroughputAssertionAttribute ( string categoryName, string counterName, MustBe condition, double averageValuePerSecond ) : System.Diagnostics

Method Details

PerformanceCounterThroughputAssertionAttribute() public method

public PerformanceCounterThroughputAssertionAttribute ( string categoryName, string counterName, MustBe condition, double averageValuePerSecond ) : System.Diagnostics
categoryName string
counterName string
condition MustBe
averageValuePerSecond double
return System.Diagnostics