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