1 instantiation of TplEtwProvider
mscorlib (1)
system\threading\Tasks\TPLETWProvider.cs (1)
63public static TplEtwProvider Log = new TplEtwProvider();
92 references to TplEtwProvider
mscorlib (92)
system\diagnostics\eventing\activitytracker.cs (6)
67if (System.Threading.Tasks.TplEtwProvider.Log.IsEnabled(EventLevel.Informational, System.Threading.Tasks.TplEtwProvider.Keywords.TasksFlowActivityIds)) 81var etwLog = TplEtwProvider.Log; 149var etwLog = TplEtwProvider.Log;
system\diagnostics\eventing\eventsource.cs (4)
554if (System.Threading.Tasks.TplEtwProvider.Log != null) 555System.Threading.Tasks.TplEtwProvider.Log.SetActivityId(activityId); 589if (System.Threading.Tasks.TplEtwProvider.Log != null) 590System.Threading.Tasks.TplEtwProvider.Log.SetActivityId(activityId);
system\runtime\compilerservices\TaskAwaiter.cs (5)
216if ( TplEtwProvider.Log.IsEnabled() || Task.s_asyncDebuggingEnabled) 241var etwLog = TplEtwProvider.Log; 253task.Id, TplEtwProvider.TaskWaitBehavior.Asynchronous, 283EventSource.SetCurrentThreadActivityId(TplEtwProvider.CreateGuidForTaskID(task.Id), out prevActivityId);
system\runtime\compilerservices\YieldAwaitable.cs (5)
90if (TplEtwProvider.Log.IsEnabled()) 133TplEtwProvider.Log.AwaitTaskContinuationScheduled(TaskScheduler.Current.Id, (currentTask != null) ? currentTask.Id : 0, continuationId); 137var etwLog = TplEtwProvider.Log; 144EventSource.SetCurrentThreadActivityId(TplEtwProvider.CreateGuidForTaskID(continuationId), out prevActivityId);
system\threading\Tasks\AsyncCausalityTracer.cs (5)
190TplEtwProvider.Log.TraceOperationBegin(taskId, operationName, (long) relatedContext); 210TplEtwProvider.Log.TraceOperationEnd(taskId, status); 229TplEtwProvider.Log.TraceOperationRelation(taskId, relation); 248TplEtwProvider.Log.TraceSynchronousWorkBegin(taskId, work); 267TplEtwProvider.Log.TraceSynchronousWorkEnd(work);
system\threading\Tasks\Parallel.cs (32)
251if (TplEtwProvider.Log.IsEnabled()) 255TplEtwProvider.Log.ParallelInvokeBegin((callerTask != null ? callerTask.m_taskScheduler.Id : TaskScheduler.Current.Id), (callerTask != null ? callerTask.Id : 0), 256forkJoinContextID, TplEtwProvider.ForkJoinOperationType.ParallelInvoke, 406if (TplEtwProvider.Log.IsEnabled()) 408TplEtwProvider.Log.ParallelInvokeEnd((callerTask != null ? callerTask.m_taskScheduler.Id : TaskScheduler.Current.Id), (callerTask != null ? callerTask.Id : 0), 1097if (TplEtwProvider.Log.IsEnabled()) 1101TplEtwProvider.Log.ParallelLoopBegin((callingTask != null ? callingTask.m_taskScheduler.Id : TaskScheduler.Current.Id), (callingTask != null ? callingTask.Id : 0), 1102forkJoinContextID, TplEtwProvider.ForkJoinOperationType.ParallelFor, 1151if (TplEtwProvider.Log.IsEnabled()) 1153TplEtwProvider.Log.ParallelFork((currentWorkerTask != null ? currentWorkerTask.m_taskScheduler.Id : TaskScheduler.Current.Id), (currentWorkerTask != null ? currentWorkerTask.Id : 0), 1254if (TplEtwProvider.Log.IsEnabled()) 1256TplEtwProvider.Log.ParallelJoin((currentWorkerTask != null ? currentWorkerTask.m_taskScheduler.Id : TaskScheduler.Current.Id), (currentWorkerTask != null ? currentWorkerTask.Id : 0), 1310if (TplEtwProvider.Log.IsEnabled()) 1322TplEtwProvider.Log.ParallelLoopEnd((callingTask != null ? callingTask.m_taskScheduler.Id : TaskScheduler.Current.Id), (callingTask != null ? callingTask.Id : 0), 1412if (TplEtwProvider.Log.IsEnabled()) 1416TplEtwProvider.Log.ParallelLoopBegin((callerTask != null ? callerTask.m_taskScheduler.Id : TaskScheduler.Current.Id), (callerTask != null ? callerTask.Id : 0), 1417forkJoinContextID, TplEtwProvider.ForkJoinOperationType.ParallelFor, 1464if (TplEtwProvider.Log.IsEnabled()) 1466TplEtwProvider.Log.ParallelFork((currentWorkerTask != null ? currentWorkerTask.m_taskScheduler.Id : TaskScheduler.Current.Id), (currentWorkerTask != null ? currentWorkerTask.Id : 0), 1567if (TplEtwProvider.Log.IsEnabled()) 1569TplEtwProvider.Log.ParallelJoin((currentWorkerTask != null ? currentWorkerTask.m_taskScheduler.Id : TaskScheduler.Current.Id), (currentWorkerTask != null ? currentWorkerTask.Id : 0), 1623if (TplEtwProvider.Log.IsEnabled()) 1635TplEtwProvider.Log.ParallelLoopEnd((callerTask != null ? callerTask.m_taskScheduler.Id : TaskScheduler.Current.Id), (callerTask != null ? callerTask.Id : 0), 3226if (TplEtwProvider.Log.IsEnabled()) 3230TplEtwProvider.Log.ParallelLoopBegin((callerTask != null ? callerTask.m_taskScheduler.Id : TaskScheduler.Current.Id), (callerTask != null ? callerTask.Id : 0), 3231forkJoinContextID, TplEtwProvider.ForkJoinOperationType.ParallelForEach, 3289if (TplEtwProvider.Log.IsEnabled()) 3291TplEtwProvider.Log.ParallelFork((currentWorkerTask != null ? currentWorkerTask.m_taskScheduler.Id : TaskScheduler.Current.Id), (currentWorkerTask != null ? currentWorkerTask.Id : 0), 3452if (TplEtwProvider.Log.IsEnabled()) 3454TplEtwProvider.Log.ParallelJoin((currentWorkerTask != null ? currentWorkerTask.m_taskScheduler.Id : TaskScheduler.Current.Id), (currentWorkerTask != null ? currentWorkerTask.Id : 0), 3534if (TplEtwProvider.Log.IsEnabled()) 3536TplEtwProvider.Log.ParallelLoopEnd((callerTask != null ? callerTask.m_taskScheduler.Id : TaskScheduler.Current.Id), (callerTask != null ? callerTask.Id : 0),
system\threading\Tasks\Task.cs (14)
977var etwLog = TplEtwProvider.Log; 1310TplEtwProvider.Log.NewID(newId); 2778var etwLog = TplEtwProvider.Log; 2784EventSource.SetCurrentThreadActivityId(TplEtwProvider.CreateGuidForTaskID(this.Id), out savedActivityID); 3227var etwLog = TplEtwProvider.Log; 3234this.Id, TplEtwProvider.TaskWaitBehavior.Synchronous, 0, System.Threading.Thread.GetDomainID()); 3598TplEtwProvider.Log.RunningContinuation(Id, continuationObject); 3671TplEtwProvider.Log.RunningContinuationList(Id, i, tc); 3685TplEtwProvider.Log.RunningContinuationList(Id, i, currentContinuation); 4691var etwLog = TplEtwProvider.Log;
system\threading\Tasks\TaskContinuation.cs (13)
424TplEtwProvider etwLog = TplEtwProvider.Log; 442TplEtwProvider etwLog = TplEtwProvider.Log; 458Guid activityId = TplEtwProvider.CreateGuidForTaskID(continuationId); 618TplEtwProvider etwLog = TplEtwProvider.Log; 666var etwLog = TplEtwProvider.Log; 670Guid activityId = TplEtwProvider.CreateGuidForTaskID(m_continuationId); 706if (m_capturedContext == null && !TplEtwProvider.Log.IsEnabled() 829var etwLog = TplEtwProvider.Log;
system\threading\Tasks\TPLETWProvider.cs (8)
63public static TplEtwProvider Log = new TplEtwProvider(); 224Task = TplEtwProvider.Tasks.Loop, Opcode = EventOpcode.Start)] 268[Event(PARALLELLOOPEND_ID, Level = EventLevel.Informational, Task = TplEtwProvider.Tasks.Loop, Opcode = EventOpcode.Stop)] 306Task = TplEtwProvider.Tasks.Invoke, Opcode = EventOpcode.Start)] 345[Event(PARALLELINVOKEEND_ID, Level = EventLevel.Informational, Task = TplEtwProvider.Tasks.Invoke, Opcode = EventOpcode.Stop)] 367Task = TplEtwProvider.Tasks.ForkJoin, Opcode = EventOpcode.Start)] 387[Event(PARALLELJOIN_ID, Level = EventLevel.Verbose, Task = TplEtwProvider.Tasks.ForkJoin, Opcode = EventOpcode.Stop)] 518[Event(TASKWAITBEGIN_ID, Version=3, Task = TplEtwProvider.Tasks.TaskWait, Opcode = EventOpcode.Send,