Edytuj

Udostępnij za pośrednictwem


LifecycleSubject.PerfMeasureOnStart(Int32, TimeSpan) Method

Definition

Logs the observed performance of an OnStart(CancellationToken) call.

protected virtual void PerfMeasureOnStart (int stage, TimeSpan elapsed);
abstract member PerfMeasureOnStart : int * TimeSpan -> unit
override this.PerfMeasureOnStart : int * TimeSpan -> unit
Protected Overridable Sub PerfMeasureOnStart (stage As Integer, elapsed As TimeSpan)

Parameters

stage
Int32

The stage.

elapsed
TimeSpan

The period of time which elapsed before OnStart(CancellationToken) completed once it was initiated.

Applies to