Method | Description | |
---|---|---|
BenchmarkContext ( Counter>.IReadOnlyDictionary |
||
CounterExists ( string name ) : bool |
Determines if a counter with a particular name has been registered or not.
|
|
GetCounter ( string name ) : |
Retrieves a named Counter instance that has already been registered via a CounterMeasurementAttribute, CounterThroughputAssertionAttribute, or CounterTotalAssertionAttribute classes.
|
public BenchmarkContext ( Counter>.IReadOnlyDictionary |
||
counters | Counter>.IReadOnlyDictionary | |
trace | IBenchmarkTrace | |
return | System |
public CounterExists ( string name ) : bool | ||
name | string | The name of the counter. |
return | bool |
public GetCounter ( string name ) : |
||
name | string | The name of the counter. |
return |