88 references to PerfCounters
System.ServiceModel (88)
System\ServiceModel\Diagnostics\EndpointPerformanceCounters.cs (24)
18
this.Counters = new PerformanceCounter[(int)
PerfCounters
.TotalCounters];
19
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);
81
Increment((int)
PerfCounters
.CallsFailed);
82
Increment((int)
PerfCounters
.CallsFailedPerSecond);
83
Decrement((int)
PerfCounters
.CallsOutstanding);
88
Increment((int)
PerfCounters
.CallsFaulted);
89
Increment((int)
PerfCounters
.CallsFaultedPerSecond);
90
Decrement((int)
PerfCounters
.CallsOutstanding);
96
IncrementBy((int)
PerfCounters
.CallDuration, time);
97
Increment((int)
PerfCounters
.CallDurationBase);
102
Increment((int)
PerfCounters
.SecurityValidationAuthenticationFailures);
103
Increment((int)
PerfCounters
.SecurityValidationAuthenticationFailuresPerSecond);
108
Increment((int)
PerfCounters
.CallsNotAuthorized);
109
Increment((int)
PerfCounters
.CallsNotAuthorizedPerSecond);
114
Increment((int)
PerfCounters
.RMSessionsFaulted);
115
Increment((int)
PerfCounters
.RMSessionsFaultedPerSecond);
120
Increment((int)
PerfCounters
.RMMessagesDropped);
121
Increment((int)
PerfCounters
.RMMessagesDroppedPerSecond);
126
Increment((int)
PerfCounters
.TxFlowed);
127
Increment((int)
PerfCounters
.TxFlowedPerSecond);
System\ServiceModel\Diagnostics\EndpointPerformanceCountersBase.cs (2)
195
get { return (int)
PerfCounters
.Calls; }
200
get { return (int)
PerfCounters
.TotalCounters; }
System\ServiceModel\Diagnostics\EndpointPerformanceCountersV2.cs (62)
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
.RMSessionsFaulted, CounterType.RawData32, perfCounterNames[(int)
PerfCounters
.RMSessionsFaulted]);
65
localCounterSet.AddCounter((int)
PerfCounters
.RMSessionsFaultedPerSecond, CounterType.RateOfCountPerSecond32, perfCounterNames[(int)
PerfCounters
.RMSessionsFaultedPerSecond]);
66
localCounterSet.AddCounter((int)
PerfCounters
.RMMessagesDropped, CounterType.RawData32, perfCounterNames[(int)
PerfCounters
.RMMessagesDropped]);
67
localCounterSet.AddCounter((int)
PerfCounters
.RMMessagesDroppedPerSecond, CounterType.RateOfCountPerSecond32, perfCounterNames[(int)
PerfCounters
.RMMessagesDroppedPerSecond]);
68
localCounterSet.AddCounter((int)
PerfCounters
.TxFlowed, CounterType.RawData32, perfCounterNames[(int)
PerfCounters
.TxFlowed]);
69
localCounterSet.AddCounter((int)
PerfCounters
.TxFlowedPerSecond, CounterType.RateOfCountPerSecond32, perfCounterNames[(int)
PerfCounters
.TxFlowedPerSecond]);
92
this.counters[(int)
PerfCounters
.Calls].Increment();
93
this.counters[(int)
PerfCounters
.CallsPerSecond].Increment();
94
this.counters[(int)
PerfCounters
.CallsOutstanding].Increment();
99
this.counters[(int)
PerfCounters
.CallsOutstanding].Decrement();
104
this.counters[(int)
PerfCounters
.CallsFailed].Increment();
105
this.counters[(int)
PerfCounters
.CallsFailedPerSecond].Increment();
106
this.counters[(int)
PerfCounters
.CallsOutstanding].Decrement();
111
this.counters[(int)
PerfCounters
.CallsFaulted].Increment();
112
this.counters[(int)
PerfCounters
.CallsFaultedPerSecond].Increment();
113
this.counters[(int)
PerfCounters
.CallsOutstanding].Decrement();
118
this.counters[(int)
PerfCounters
.CallDuration].IncrementBy(time);
119
this.counters[(int)
PerfCounters
.CallDurationBase].Increment();
124
this.counters[(int)
PerfCounters
.SecurityValidationAuthenticationFailures].Increment();
125
this.counters[(int)
PerfCounters
.SecurityValidationAuthenticationFailuresPerSecond].Increment();
130
this.counters[(int)
PerfCounters
.CallsNotAuthorized].Increment();
131
this.counters[(int)
PerfCounters
.CallsNotAuthorizedPerSecond].Increment();
136
this.counters[(int)
PerfCounters
.RMSessionsFaulted].Increment();
137
this.counters[(int)
PerfCounters
.RMSessionsFaultedPerSecond].Increment();
142
this.counters[(int)
PerfCounters
.RMMessagesDropped].Increment();
143
this.counters[(int)
PerfCounters
.RMMessagesDroppedPerSecond].Increment();
148
this.counters[(int)
PerfCounters
.TxFlowed].Increment();
149
this.counters[(int)
PerfCounters
.TxFlowedPerSecond].Increment();