Members and overloads 7 declared here On this results page PerformanceTimer(string, int, FinishedMeasuringCallback, bool?) Dispose() Start() StopAndPrint() DontPrint Elapsed ElapsedMilliseconds
Copy
public PerformanceTimer.PerformanceTimer(string debugText, int triggerMs = 0, FinishedMeasuringCallback callback = null, bool? dontPrint = null)
Creates a new PerformanceTimer instance using the supplied arguments.
Parameters
debugTextParameter type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Specifies debug text.
triggerMsParameter 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.
callbackParameter type: FinishedMeasuringCallbackSpecifies callback. Optional; the default is shown in the signature.
dontPrintParameter 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.
Copy
public void PerformanceTimer.Dispose()
Releases resources owned by this instance.
Return type: voidNo return value.
Copy
public void PerformanceTimer.Start()
Starts this component's lifecycle.
Return type: voidNo return value.
Copy
public void PerformanceTimer.StopAndPrint()
Stops and print.
Return type: voidNo return value.
Copy
public static bool PerformanceTimer.DontPrint { get; set; }
Reads or assigns dont print on PerformanceTimer as bool. The exact type and accessors are shown below.
Value type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
Copy
public TimeSpan PerformanceTimer.Elapsed { get; }
Reads elapsed on PerformanceTimer as TimeSpan. The exact type and accessors are shown below.
Value type: TimeSpanNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
ElapsedMilliseconds Property Link ↗
Copy
public long PerformanceTimer.ElapsedMilliseconds { get; }
Reads elapsed milliseconds on PerformanceTimer as long. The exact type and accessors are shown below.
Value type: longNo current DPB page is linked for this built-in, external, generic or compatibility-only type.
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.