C# Class NBench.PerformanceCounters.Collection.PerformanceCounterCache

Used to warm up and cache PerformanceCounter instances
Afficher le fichier Open project: petabridge/NBench

Méthodes publiques

Méthode Description
Exists ( MetricName name ) : bool
Get ( MetricName name ) : IPerformanceCounterProxy
PerformanceCounterCache ( ) : System
PerformanceCounterCache ( CachedPerformanceCounterProxy>.IDictionary cachedCounters ) : System
Put ( MetricName name, IPerformanceCounterProxy concreteCounter ) : bool

Method Details

Exists() public méthode

public Exists ( MetricName name ) : bool
name MetricName
Résultat bool

Get() public méthode

public Get ( MetricName name ) : IPerformanceCounterProxy
name MetricName
Résultat IPerformanceCounterProxy

PerformanceCounterCache() public méthode

public PerformanceCounterCache ( ) : System
Résultat System

PerformanceCounterCache() public méthode

public PerformanceCounterCache ( CachedPerformanceCounterProxy>.IDictionary cachedCounters ) : System
cachedCounters CachedPerformanceCounterProxy>.IDictionary
Résultat System

Put() public méthode

public Put ( MetricName name, IPerformanceCounterProxy concreteCounter ) : bool
name MetricName
concreteCounter IPerformanceCounterProxy
Résultat bool