1 instantiation of NativeRuntimeEventSource
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\NativeRuntimeEventSource.cs (1)
30public static readonly NativeRuntimeEventSource Log = new NativeRuntimeEventSource();
50 references to NativeRuntimeEventSource
System.Private.CoreLib (50)
LibraryImports.g.cs (4)
5529private static extern partial void LogContentionStart(global::System.Diagnostics.Tracing.NativeRuntimeEventSource.ContentionFlagsMap ContentionFlags, ushort ClrInstanceID, nint LockID, nint AssociatedObjectID, ulong LockOwnerThreadID); 5537private static extern partial void LogContentionStop(global::System.Diagnostics.Tracing.NativeRuntimeEventSource.ContentionFlagsMap ContentionFlags, ushort ClrInstanceID, double DurationNs); 5585private static extern partial void LogThreadPoolWorkerThreadAdjustmentAdjustment(double AverageThroughput, uint NewWorkerThreadCount, global::System.Diagnostics.Tracing.NativeRuntimeEventSource.ThreadAdjustmentReasonMap Reason, ushort ClrInstanceID); 5645private static extern partial void LogWaitHandleWaitStart(global::System.Diagnostics.Tracing.NativeRuntimeEventSource.WaitHandleWaitSourceMap WaitSource, nint AssociatedObjectID, ushort ClrInstanceID);
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventPipeEventDispatcher.cs (3)
43m_RuntimeProviderID = EventPipeInternal.GetProvider(NativeRuntimeEventSource.EventSourceName); 101new EventPipeProviderConfiguration(NativeRuntimeEventSource.EventSourceName, (ulong)aggregatedKeywords, (uint)enableLevel, null) 166NativeRuntimeEventSource.Log.ProcessEvent(instanceData.EventID, instanceData.ThreadID, dateTimeStamp, instanceData.ActivityId, instanceData.ChildActivityId, payload);
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventSource.cs (4)
3183if (source?.GetType() == typeof(NativeRuntimeEventSource)) 3887_ = NativeRuntimeEventSource.Log; 4239if (eventSource.GetType() == typeof(NativeRuntimeEventSource)) 4257if (eventSource.GetType() == typeof(NativeRuntimeEventSource))
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\NativeRuntimeEventSource.cs (1)
30public static readonly NativeRuntimeEventSource Log = new NativeRuntimeEventSource();
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\TraceLogging\XplatEventLogger.cs (1)
171if (eventData.EventSource.GetType() == typeof(NativeRuntimeEventSource))
src\libraries\System.Private.CoreLib\src\System\Threading\Lock.cs (6)
474NativeRuntimeEventSource.Log.IsEnabled( 476NativeRuntimeEventSource.Keywords.ContentionKeyword); 493NativeRuntimeEventSource.Log.ContentionStart(this); 567NativeRuntimeEventSource.Log.ContentionStop(waitDurationNs); 618if (areContentionEventsEnabled && NativeRuntimeEventSource.Log.IsEnabled()) 620NativeRuntimeEventSource.Log.ContentionLockCreated(this);
src\libraries\System.Private.CoreLib\src\System\Threading\Overlapped.cs (2)
187if (NativeRuntimeEventSource.Log.IsEnabled()) 188NativeRuntimeEventSource.Log.ThreadPoolIOPack(pNativeOverlapped);
src\libraries\System.Private.CoreLib\src\System\Threading\PortableThreadPool.cs (6)
142if (NativeRuntimeEventSource.Log.IsEnabled()) 144NativeRuntimeEventSource.Log.ThreadPoolMinMaxThreads( 218if (NativeRuntimeEventSource.Log.IsEnabled()) 220NativeRuntimeEventSource.Log.ThreadPoolMinMaxThreads( 288if (NativeRuntimeEventSource.Log.IsEnabled()) 290NativeRuntimeEventSource.Log.ThreadPoolMinMaxThreads(
src\libraries\System.Private.CoreLib\src\System\Threading\PortableThreadPool.GateThread.cs (2)
115if (ThreadPool.EnableWorkerTracking && NativeRuntimeEventSource.Log.IsEnabled()) 117NativeRuntimeEventSource.Log.ThreadPoolWorkingThreadCount(
src\libraries\System.Private.CoreLib\src\System\Threading\PortableThreadPool.HillClimbing.cs (7)
174if (NativeRuntimeEventSource.Log.IsEnabled()) 176NativeRuntimeEventSource.Log.ThreadPoolWorkerThreadAdjustmentSample(throughput); 350if (NativeRuntimeEventSource.Log.IsEnabled()) 352NativeRuntimeEventSource.Log.ThreadPoolWorkerThreadAdjustmentStats(sampleDurationSeconds, throughput, threadWaveComponent.Real, throughputWaveComponent.Real, 418if (NativeRuntimeEventSource.Log.IsEnabled()) 420NativeRuntimeEventSource.Log.ThreadPoolWorkerThreadAdjustmentAdjustment( 423(NativeRuntimeEventSource.ThreadAdjustmentReasonMap)stateOrTransition);
src\libraries\System.Private.CoreLib\src\System\Threading\PortableThreadPool.WaitThread.cs (4)
40if (NativeRuntimeEventSource.Log.IsEnabled()) 42NativeRuntimeEventSource.Log.ThreadPoolIOEnqueue(handle); 75if (NativeRuntimeEventSource.Log.IsEnabled()) 77NativeRuntimeEventSource.Log.ThreadPoolIODequeue(handle);
src\libraries\System.Private.CoreLib\src\System\Threading\PortableThreadPool.WorkerThread.cs (6)
54if (NativeRuntimeEventSource.Log.IsEnabled()) 56NativeRuntimeEventSource.Log.ThreadPoolWorkerThreadWait( 78if (NativeRuntimeEventSource.Log.IsEnabled()) 80NativeRuntimeEventSource.Log.ThreadPoolWorkerThreadStart( 221if (NativeRuntimeEventSource.Log.IsEnabled()) 223NativeRuntimeEventSource.Log.ThreadPoolWorkerThreadStop((uint)newNumExistingThreads);
src\libraries\System.Private.CoreLib\src\System\Threading\WaitHandle.cs (2)
111NativeRuntimeEventSource.WaitHandleWaitSourceMap waitSource = NativeRuntimeEventSource.WaitHandleWaitSourceMap.Unknown)
src\System\Runtime\Loader\AssemblyLoadContext.CoreCLR.cs (2)
210ActivityTracker.Instance.OnStart(NativeRuntimeEventSource.Log.Name, AssemblyLoadName, 0, ref activityId, ref relatedActivityId, EventActivityOptions.Recursive, useTplSource: false); 219ActivityTracker.Instance.OnStop(NativeRuntimeEventSource.Log.Name, AssemblyLoadName, 0, ref activityId, useTplSource: false);