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