1 write to m_idToCounter
System.Core (1)
System\Diagnostics\PerformanceData\CounterSet.cs (1)
64
m_idToCounter
= new Dictionary<Int32, CounterType>();
10 references to m_idToCounter
System.Core (10)
System\Diagnostics\PerformanceData\CounterSet.cs (8)
115
if (
m_idToCounter
.ContainsKey(counterId)) {
119
m_idToCounter
.Add(counterId, counterType);
154
if (
m_idToCounter
.ContainsKey(counterId)) {
159
m_idToCounter
.Add(counterId, counterType);
190
if (
m_idToCounter
.Count == 0) {
198
+ (uint)
m_idToCounter
.Count * (uint) sizeof(UnsafeNativeMethods.PerfCounterInfoStruct);
215
CounterSetInfo->NumCounters = (uint)
m_idToCounter
.Count;
218
foreach (KeyValuePair<Int32, CounterType> CounterDef in
m_idToCounter
) {
System\Diagnostics\PerformanceData\CounterSetInstanceCounterDataSet.cs (2)
125
m_dataBlock = (byte *) Marshal.AllocHGlobal(m_instance.m_counterSet.
m_idToCounter
.Count * sizeof(Int64));
132
foreach (KeyValuePair<Int32, CounterType> CounterDef in m_instance.m_counterSet.
m_idToCounter
) {