Sign in Join
FPDoc Onlineexperiment

TLazLoggerBlockTimer.TimeDiff property

Member of TLazLoggerBlockTimerpublicIn unit LazLoggerProfiling

Calculates the cumulative execution time for the block at the specified nesting level.

Declaration

pascal
property TimeDiff[ALevel: Integer]: QWord read GetTimeDiff;

Description

TimeDiff is a read-only QWord property which provides indexed access to the cumulative execution time for the block at the specified nesting level. The value represents a number of "ticks" or milliseconds as returned from the GetTickCount64 routine in the RTL.

The property value is calculated as the difference between the current "tick" value and the execution start time from the parent block. A timer overflow condition is handled in the calculation. The property value is 0 (zero) when ALevel is not in the range 0..MaxDepth.

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.