PerformanceTracking.TaskEnd(PerformanceTracking+Task, String) Method

Definition

Raises a task end event.

public static void TaskEnd (Microsoft.Quantum.QsCompiler.Diagnostics.PerformanceTracking.Task task, string? leafSuffix = default);
static member TaskEnd : Microsoft.Quantum.QsCompiler.Diagnostics.PerformanceTracking.Task * string -> unit
Public Sub TaskEnd (task As PerformanceTracking.Task, Optional leafSuffix As String = Nothing)

Parameters

task
PerformanceTracking.Task

Indicates the task to end.

leafSuffix
String

Supplies a string to label the task more precisely. N.B. Can only be non-null on tasks that are not a parent of another task.

Applies to