1 write to _perfCounters
System.Runtime.Caching (1)
System\Runtime\Caching\MemoryCacheStore.cs (1)
39
_perfCounters
= perfCounters;
15 references to _perfCounters
System.Runtime.Caching (15)
System\Runtime\Caching\MemoryCacheStore.cs (15)
83
if (
_perfCounters
!= null && _countersSupported)
85
_perfCounters
.Increment(CounterName.Entries);
86
_perfCounters
.Increment(CounterName.Turnover);
118
if (
_perfCounters
!= null && _countersSupported)
120
_perfCounters
.Decrement(CounterName.Entries);
121
_perfCounters
.Increment(CounterName.Turnover);
146
if (updatePerfCounters &&
_perfCounters
!= null && _countersSupported)
148
_perfCounters
.Increment(CounterName.Hits);
149
_perfCounters
.Increment(CounterName.HitRatio);
150
_perfCounters
.Increment(CounterName.HitRatioBase);
155
if (updatePerfCounters &&
_perfCounters
!= null && _countersSupported)
157
_perfCounters
.Increment(CounterName.Misses);
158
_perfCounters
.Increment(CounterName.HitRatioBase);
408
if (trimmed > 0 &&
_perfCounters
!= null && _countersSupported)
411
_perfCounters
.IncrementBy(CounterName.Trims, trimmed);