DPB2Class · Utilities and settings

PerformanceTimer

Provides performance timer data and the operations listed below. Related types link to the values this API consumes or returns.

Namespace: DreamPoeBot.Loki.Common

public class PerformanceTimerView DPB1 version →

Members and overloads

7 results

PerformanceTimer

MethodLink ↗
public PerformanceTimer.PerformanceTimer(string debugText, int triggerMs = 0, FinishedMeasuringCallback callback = null, bool? dontPrint = null)

Creates a new PerformanceTimer instance using the supplied arguments.

debugTextstring
Specifies debug text.
triggerMsint
Specifies trigger ms. Optional; the default is shown in the signature.
callbackFinishedMeasuringCallback
Specifies callback. Optional; the default is shown in the signature.
dontPrintbool?
Specifies dont print. Optional; the default is shown in the signature.

Dispose

MethodLink ↗
public void PerformanceTimer.Dispose()

Releases resources owned by this instance.

Start

MethodLink ↗
public void PerformanceTimer.Start()

Starts this component's lifecycle.

StopAndPrint

MethodLink ↗
public void PerformanceTimer.StopAndPrint()

Stops and print.

DontPrint

PropertyLink ↗
public static bool PerformanceTimer.DontPrint { get; set; }

Gets or sets dont print for PerformanceTimer.

Elapsed

PropertyLink ↗
public TimeSpan PerformanceTimer.Elapsed { get; }

Gets elapsed for PerformanceTimer.

ElapsedMilliseconds

PropertyLink ↗
public long PerformanceTimer.ElapsedMilliseconds { get; }

Gets elapsed milliseconds for PerformanceTimer.

DPB2 0.4.5.88 · Reference reviewed 2026-10-02. Descriptions use source summaries where available, otherwise concise signature-based descriptions. Examples illustrate usage; they are not a live-game test.