2 writes to _counters
System.Runtime.Caching (2)
System\Runtime\Caching\Counters.cs (2)
35
_counters
= new DiagnosticCounter[NUM_COUNTERS];
80
if (counters != null && Interlocked.CompareExchange(ref
_counters
, null, counters) == counters)
7 references to _counters
System.Runtime.Caching (7)
System\Runtime\Caching\Counters.cs (7)
37
_counters
[(int)CounterName.Entries] = CreatePollingCounter("entries", "Cache Entries", (int)CounterName.Entries);
38
_counters
[(int)CounterName.Hits] = CreatePollingCounter("hits", "Cache Hits", (int)CounterName.Hits);
39
_counters
[(int)CounterName.Misses] = CreatePollingCounter("misses", "Cache Misses", (int)CounterName.Misses);
40
_counters
[(int)CounterName.Trims] = CreatePollingCounter("trims", "Cache Trims", (int)CounterName.Trims);
42
_counters
[(int)CounterName.Turnover] = new IncrementingPollingCounter("turnover", this,
51
_counters
[(int)CounterName.HitRatio] = new PollingCounter("hit-ratio", this,
77
DiagnosticCounter[] counters =
_counters
;