1 write to _perfCounters
System.Runtime.Caching (1)
System\Runtime\Caching\MemoryCacheStore.cs (1)
40
_perfCounters
= perfCounters;
15 references to _perfCounters
System.Runtime.Caching (15)
System\Runtime\Caching\MemoryCacheStore.cs (15)
84
if (
_perfCounters
!= null && _countersSupported)
86
_perfCounters
.Increment(CounterName.Entries);
87
_perfCounters
.Increment(CounterName.Turnover);
119
if (
_perfCounters
!= null && _countersSupported)
121
_perfCounters
.Decrement(CounterName.Entries);
122
_perfCounters
.Increment(CounterName.Turnover);
147
if (updatePerfCounters &&
_perfCounters
!= null && _countersSupported)
149
_perfCounters
.Increment(CounterName.Hits);
150
_perfCounters
.Increment(CounterName.HitRatio);
151
_perfCounters
.Increment(CounterName.HitRatioBase);
156
if (updatePerfCounters &&
_perfCounters
!= null && _countersSupported)
158
_perfCounters
.Increment(CounterName.Misses);
159
_perfCounters
.Increment(CounterName.HitRatioBase);
409
if (trimmed > 0 &&
_perfCounters
!= null && _countersSupported)
412
_perfCounters
.IncrementBy(CounterName.Trims, trimmed);