72 references to PerfCounters
System.ServiceModel (72)
System\ServiceModel\Diagnostics\OperationPerformanceCounters.cs (20)
17this.Counters = new PerformanceCounter[(int)PerfCounters.TotalCounters]; 18for (int i = 0; i < (int)PerfCounters.TotalCounters; i++) 68Increment((int)PerfCounters.Calls); 69Increment((int)PerfCounters.CallsPerSecond); 70Increment((int)PerfCounters.CallsOutstanding); 75Decrement((int)PerfCounters.CallsOutstanding); 80Increment((int)PerfCounters.CallsFailed); 81Increment((int)PerfCounters.CallsFailedPerSecond); 82Decrement((int)PerfCounters.CallsOutstanding); 87Increment((int)PerfCounters.CallsFaulted); 88Increment((int)PerfCounters.CallsFaultedPerSecond); 89Decrement((int)PerfCounters.CallsOutstanding); 95IncrementBy((int)PerfCounters.CallDuration, time); 96Increment((int)PerfCounters.CallDurationBase); 101Increment((int)PerfCounters.SecurityValidationAuthenticationFailures); 102Increment((int)PerfCounters.SecurityValidationAuthenticationFailuresPerSecond); 107Increment((int)PerfCounters.CallsNotAuthorized); 108Increment((int)PerfCounters.CallsNotAuthorizedPerSecond); 113Increment((int)PerfCounters.TxFlowed); 114Increment((int)PerfCounters.TxFlowedPerSecond);
System\ServiceModel\Diagnostics\OperationPerformanceCountersBase.cs (2)
208get { return (int)PerfCounters.Calls; } 213get { return (int)PerfCounters.TotalCounters; }
System\ServiceModel\Diagnostics\OperationPerformanceCountersV2.cs (50)
33this.counters = new CounterData[(int)PerfCounters.TotalCounters]; // Cache to dodge dictionary lookups in ServiceModelInstance 34for (int i = 0; i < (int)PerfCounters.TotalCounters; i++) 51localCounterSet.AddCounter((int)PerfCounters.Calls, CounterType.RawData32, perfCounterNames[(int)PerfCounters.Calls]); 52localCounterSet.AddCounter((int)PerfCounters.CallsPerSecond, CounterType.RateOfCountPerSecond32, perfCounterNames[(int)PerfCounters.CallsPerSecond]); 53localCounterSet.AddCounter((int)PerfCounters.CallsOutstanding, CounterType.RawData32, perfCounterNames[(int)PerfCounters.CallsOutstanding]); 54localCounterSet.AddCounter((int)PerfCounters.CallsFailed, CounterType.RawData32, perfCounterNames[(int)PerfCounters.CallsFailed]); 55localCounterSet.AddCounter((int)PerfCounters.CallsFailedPerSecond, CounterType.RateOfCountPerSecond32, perfCounterNames[(int)PerfCounters.CallsFailedPerSecond]); 56localCounterSet.AddCounter((int)PerfCounters.CallsFaulted, CounterType.RawData32, perfCounterNames[(int)PerfCounters.CallsFaulted]); 57localCounterSet.AddCounter((int)PerfCounters.CallsFaultedPerSecond, CounterType.RateOfCountPerSecond32, perfCounterNames[(int)PerfCounters.CallsFaultedPerSecond]); 58localCounterSet.AddCounter((int)PerfCounters.CallDurationBase, CounterType.AverageBase, perfCounterNames[(int)PerfCounters.CallDurationBase]); 59localCounterSet.AddCounter((int)PerfCounters.CallDuration, CounterType.AverageTimer32, perfCounterNames[(int)PerfCounters.CallDuration]); 60localCounterSet.AddCounter((int)PerfCounters.SecurityValidationAuthenticationFailures, CounterType.RawData32, perfCounterNames[(int)PerfCounters.SecurityValidationAuthenticationFailures]); 61localCounterSet.AddCounter((int)PerfCounters.SecurityValidationAuthenticationFailuresPerSecond, CounterType.RateOfCountPerSecond32, perfCounterNames[(int)PerfCounters.SecurityValidationAuthenticationFailuresPerSecond]); 62localCounterSet.AddCounter((int)PerfCounters.CallsNotAuthorized, CounterType.RawData32, perfCounterNames[(int)PerfCounters.CallsNotAuthorized]); 63localCounterSet.AddCounter((int)PerfCounters.CallsNotAuthorizedPerSecond, CounterType.RateOfCountPerSecond32, perfCounterNames[(int)PerfCounters.CallsNotAuthorizedPerSecond]); 64localCounterSet.AddCounter((int)PerfCounters.TxFlowed, CounterType.RawData32, perfCounterNames[(int)PerfCounters.TxFlowed]); 65localCounterSet.AddCounter((int)PerfCounters.TxFlowedPerSecond, CounterType.RateOfCountPerSecond32, perfCounterNames[(int)PerfCounters.TxFlowedPerSecond]); 88this.counters[(int)PerfCounters.Calls].Increment(); 89this.counters[(int)PerfCounters.CallsPerSecond].Increment(); 90this.counters[(int)PerfCounters.CallsOutstanding].Increment(); 95this.counters[(int)PerfCounters.CallsOutstanding].Decrement(); 100this.counters[(int)PerfCounters.CallsFailed].Increment(); 101this.counters[(int)PerfCounters.CallsFailedPerSecond].Increment(); 102this.counters[(int)PerfCounters.CallsOutstanding].Decrement(); 107this.counters[(int)PerfCounters.CallsFaulted].Increment(); 108this.counters[(int)PerfCounters.CallsFaultedPerSecond].Increment(); 109this.counters[(int)PerfCounters.CallsOutstanding].Decrement(); 115this.counters[(int)PerfCounters.CallDuration].IncrementBy(time); 116this.counters[(int)PerfCounters.CallDurationBase].Increment(); 121this.counters[(int)PerfCounters.SecurityValidationAuthenticationFailures].Increment(); 122this.counters[(int)PerfCounters.SecurityValidationAuthenticationFailuresPerSecond].Increment(); 127this.counters[(int)PerfCounters.CallsNotAuthorized].Increment(); 128this.counters[(int)PerfCounters.CallsNotAuthorizedPerSecond].Increment(); 133this.counters[(int)PerfCounters.TxFlowed].Increment(); 134this.counters[(int)PerfCounters.TxFlowedPerSecond].Increment();