75 references to ListenerPerfCounters
SMSvcHost (75)
System\ServiceModel\Activation\Diagnostics\ListenerPerfCounters.cs (59)
39
ListenerPerfCounters
.AddCounterToList(perfCounterConnectionsDispatchedTcp =
ListenerPerfCounters
.GetListenerPerformanceCounter(CategoryName, PerformanceCounterStrings.SMSVCHOST.ConnectionsDispatchedTcp, string.Empty, PerformanceCounterInstanceLifetime.Global));
40
ListenerPerfCounters
.AddCounterToList(perfCounterConnectionsDispatchedNamedPipe =
ListenerPerfCounters
.GetListenerPerformanceCounter(CategoryName, PerformanceCounterStrings.SMSVCHOST.ConnectionsDispatchedNamedPipe, string.Empty, PerformanceCounterInstanceLifetime.Global));
41
ListenerPerfCounters
.AddCounterToList(perfCounterDispatchFailuresTcp =
ListenerPerfCounters
.GetListenerPerformanceCounter(CategoryName, PerformanceCounterStrings.SMSVCHOST.DispatchFailuresTcp, string.Empty, PerformanceCounterInstanceLifetime.Global));
42
ListenerPerfCounters
.AddCounterToList(perfCounterDispatchFailuresNamedPipe =
ListenerPerfCounters
.GetListenerPerformanceCounter(CategoryName, PerformanceCounterStrings.SMSVCHOST.DispatchFailuresNamedPipe, string.Empty, PerformanceCounterInstanceLifetime.Global));
43
ListenerPerfCounters
.AddCounterToList(perfCounterUrisRegisteredTcp =
ListenerPerfCounters
.GetListenerPerformanceCounter(CategoryName, PerformanceCounterStrings.SMSVCHOST.UrisRegisteredTcp, string.Empty, PerformanceCounterInstanceLifetime.Global));
44
ListenerPerfCounters
.AddCounterToList(perfCounterUrisRegisteredNamedPipe =
ListenerPerfCounters
.GetListenerPerformanceCounter(CategoryName, PerformanceCounterStrings.SMSVCHOST.UrisRegisteredNamedPipe, string.Empty, PerformanceCounterInstanceLifetime.Global));
45
ListenerPerfCounters
.AddCounterToList(perfCounterUrisUnregisteredTcp =
ListenerPerfCounters
.GetListenerPerformanceCounter(CategoryName, PerformanceCounterStrings.SMSVCHOST.UrisUnregisteredTcp, string.Empty, PerformanceCounterInstanceLifetime.Global));
46
ListenerPerfCounters
.AddCounterToList(perfCounterUrisUnregisteredNamedPipe =
ListenerPerfCounters
.GetListenerPerformanceCounter(CategoryName, PerformanceCounterStrings.SMSVCHOST.UrisUnregisteredNamedPipe, string.Empty, PerformanceCounterInstanceLifetime.Global));
47
ListenerPerfCounters
.AddCounterToList(perfCounterRegistrationsActiveTcp =
ListenerPerfCounters
.GetListenerPerformanceCounter(CategoryName, PerformanceCounterStrings.SMSVCHOST.RegistrationsActiveTcp, string.Empty, PerformanceCounterInstanceLifetime.Global));
48
ListenerPerfCounters
.AddCounterToList(perfCounterRegistrationsActiveNamedPipe =
ListenerPerfCounters
.GetListenerPerformanceCounter(CategoryName, PerformanceCounterStrings.SMSVCHOST.RegistrationsActiveNamedPipe, string.Empty, PerformanceCounterInstanceLifetime.Global));
49
ListenerPerfCounters
.AddCounterToList(perfCounterConnectionsAcceptedTcp =
ListenerPerfCounters
.GetListenerPerformanceCounter(CategoryName, PerformanceCounterStrings.SMSVCHOST.ConnectionsAcceptedTcp, string.Empty, PerformanceCounterInstanceLifetime.Global));
50
ListenerPerfCounters
.AddCounterToList(perfCounterConnectionsAcceptedNamedPipe =
ListenerPerfCounters
.GetListenerPerformanceCounter(CategoryName, PerformanceCounterStrings.SMSVCHOST.ConnectionsAcceptedNamedPipe, string.Empty, PerformanceCounterInstanceLifetime.Global));
51
ListenerPerfCounters
.AddCounterToList(perfCounterProtocolFailuresTcp =
ListenerPerfCounters
.GetListenerPerformanceCounter(CategoryName, PerformanceCounterStrings.SMSVCHOST.ProtocolFailuresTcp, string.Empty, PerformanceCounterInstanceLifetime.Global));
52
ListenerPerfCounters
.AddCounterToList(perfCounterProtocolFailuresNamedPipe =
ListenerPerfCounters
.GetListenerPerformanceCounter(CategoryName, PerformanceCounterStrings.SMSVCHOST.ProtocolFailuresNamedPipe, string.Empty, PerformanceCounterInstanceLifetime.Global));
54
AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(
ListenerPerfCounters
.ExitOrUnloadEventHandler);
55
AppDomain.CurrentDomain.DomainUnload += new EventHandler(
ListenerPerfCounters
.ExitOrUnloadEventHandler);
56
AppDomain.CurrentDomain.ProcessExit += new EventHandler(
ListenerPerfCounters
.ExitOrUnloadEventHandler);
69
ListenerPerfCounters
.PerformanceList.Add(counter);
77
if (
ListenerPerfCounters
.perfList == null)
79
lock (
ListenerPerfCounters
.syncObject)
81
if (
ListenerPerfCounters
.perfList == null)
83
ListenerPerfCounters
.perfList = new List<PerformanceCounter>();
88
return
ListenerPerfCounters
.perfList;
95
ListenerPerfCounters
.DecrementCounter(ref perfCounterRegistrationsActiveNamedPipe);
100
ListenerPerfCounters
.DecrementCounter(ref perfCounterRegistrationsActiveTcp);
105
ListenerPerfCounters
.IncrementCounter(ref perfCounterConnectionsAcceptedNamedPipe);
110
ListenerPerfCounters
.IncrementCounter(ref perfCounterConnectionsAcceptedTcp);
115
ListenerPerfCounters
.IncrementCounter(ref perfCounterDispatchFailuresNamedPipe);
120
ListenerPerfCounters
.IncrementCounter(ref perfCounterDispatchFailuresTcp);
125
ListenerPerfCounters
.IncrementCounter(ref perfCounterProtocolFailuresNamedPipe);
129
ListenerPerfCounters
.IncrementCounter(ref perfCounterProtocolFailuresTcp);
134
ListenerPerfCounters
.IncrementCounter(ref perfCounterUrisRegisteredNamedPipe);
139
ListenerPerfCounters
.IncrementCounter(ref perfCounterUrisRegisteredTcp);
144
ListenerPerfCounters
.IncrementCounter(ref perfCounterRegistrationsActiveNamedPipe);
149
ListenerPerfCounters
.IncrementCounter(ref perfCounterRegistrationsActiveTcp);
154
ListenerPerfCounters
.IncrementCounter(ref perfCounterConnectionsDispatchedNamedPipe);
159
ListenerPerfCounters
.IncrementCounter(ref perfCounterConnectionsDispatchedTcp);
164
ListenerPerfCounters
.IncrementCounter(ref perfCounterUrisUnregisteredNamedPipe);
169
ListenerPerfCounters
.IncrementCounter(ref perfCounterUrisUnregisteredTcp);
188
ListenerPerfCounters
.TracePerformanceCounterUpdateFailure(counter.InstanceName, counter.CounterName);
210
ListenerPerfCounters
.TracePerformanceCounterUpdateFailure(counter.InstanceName, counter.CounterName);
232
if (
ListenerPerfCounters
.perfList != null)
236
if (
ListenerPerfCounters
.perfList != null)
238
countersToRemove =
ListenerPerfCounters
.perfList;
239
ListenerPerfCounters
.perfList = null;
System\ServiceModel\Activation\DupHandleConnectionReader.cs (2)
47
ListenerPerfCounters
.IncrementProtocolFailuresTcp();
51
ListenerPerfCounters
.IncrementProtocolFailuresNamedPipe();
System\ServiceModel\Activation\ListenerConnectionDemuxer.cs (2)
97
ListenerPerfCounters
.IncrementConnectionsAcceptedTcp();
101
ListenerPerfCounters
.IncrementConnectionsAcceptedNamedPipe();
System\ServiceModel\Activation\MessageQueue.cs (10)
381
ListenerPerfCounters
.IncrementDispatchFailuresTcp();
385
ListenerPerfCounters
.IncrementDispatchFailuresNamedPipe();
584
ListenerPerfCounters
.IncrementRegistrationsActiveTcp();
588
ListenerPerfCounters
.IncrementRegistrationsActiveNamedPipe();
596
ListenerPerfCounters
.DecrementRegistrationsActiveTcp();
600
ListenerPerfCounters
.DecrementRegistrationsActiveNamedPipe();
608
ListenerPerfCounters
.IncrementUrisUnregisteredTcp();
612
ListenerPerfCounters
.IncrementUrisUnregisteredNamedPipe();
620
ListenerPerfCounters
.IncrementUrisRegisteredTcp();
624
ListenerPerfCounters
.IncrementUrisRegisteredNamedPipe();
System\ServiceModel\Activation\NamedPipeWorkerProcess.cs (1)
60
ListenerPerfCounters
.IncrementConnectionsDispatchedNamedPipe();
System\ServiceModel\Activation\TcpWorkerProcess.cs (1)
68
ListenerPerfCounters
.IncrementConnectionsDispatchedTcp();