1 instantiation of ServicePerformanceCounters
System.ServiceModel (1)
System\ServiceModel\Diagnostics\PerformanceCountersFactory.cs (1)
52
return new
ServicePerformanceCounters
(serviceHost);
13 references to ServicePerformanceCounters
System.ServiceModel (13)
System\ServiceModel\Administration\ServiceInstanceProvider.cs (1)
135
instance.SetProperty(AdministrationStrings.CounterInstanceName, PerformanceCounters.PerformanceCountersEnabled ?
ServicePerformanceCounters
.GetFriendlyInstanceName(info.Service) : String.Empty);
System\ServiceModel\Dispatcher\ServiceThrottle.cs (12)
138
this.servicePerformanceCounters.SetThrottleBase((int)
ServicePerformanceCounters
.PerfCounters.CallsPercentMaxCallsBase, this.Calls.Capacity);
155
this.servicePerformanceCounters.SetThrottleBase((int)
ServicePerformanceCounters
.PerfCounters.SessionsPercentMaxSessionsBase, this.Sessions.Capacity);
172
this.servicePerformanceCounters.SetThrottleBase((int)
ServicePerformanceCounters
.PerfCounters.InstancesPercentMaxInstancesBase, this.InstanceContexts.Capacity);
236
this.servicePerformanceCounters.SetThrottleBase((int)
ServicePerformanceCounters
.PerfCounters.InstancesPercentMaxInstancesBase, instanceContextsFt.Capacity);
246
this.servicePerformanceCounters.SetThrottleBase((int)
ServicePerformanceCounters
.PerfCounters.CallsPercentMaxCallsBase, this.calls.Capacity);
256
this.servicePerformanceCounters.SetThrottleBase((int)
ServicePerformanceCounters
.PerfCounters.SessionsPercentMaxSessionsBase, this.sessions.Capacity);
427
this.servicePerformanceCounters.IncrementThrottlePercent((int)
ServicePerformanceCounters
.PerfCounters.CallsPercentMaxCalls);
432
this.servicePerformanceCounters.DecrementThrottlePercent((int)
ServicePerformanceCounters
.PerfCounters.CallsPercentMaxCalls);
445
this.servicePerformanceCounters.IncrementThrottlePercent((int)
ServicePerformanceCounters
.PerfCounters.InstancesPercentMaxInstances);
450
this.servicePerformanceCounters.DecrementThrottlePercent((int)
ServicePerformanceCounters
.PerfCounters.InstancesPercentMaxInstances);
463
this.servicePerformanceCounters.IncrementThrottlePercent((int)
ServicePerformanceCounters
.PerfCounters.SessionsPercentMaxSessions);
468
this.servicePerformanceCounters.DecrementThrottlePercent((int)
ServicePerformanceCounters
.PerfCounters.SessionsPercentMaxSessions);