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 PerformanceTimer
Reference: DPB2 0.4.5.103Compare the DPB1 reference → Check signatures and usage notes separately; a matching type is not a compatibility guarantee.

Members and overloads

1 declared here
Show all members

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.

Parameters

debugText
Parameter type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies debug text.

triggerMs
Parameter type: intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies trigger ms. Optional; the default is shown in the signature.

callback
Parameter type: FinishedMeasuringCallback

Specifies callback. Optional; the default is shown in the signature.

dontPrint
Parameter type: bool?No current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies dont print. Optional; the default is shown in the signature.

No dedicated example has been reviewed for this member. Browse the class reference; its examples may demonstrate other operations.

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