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