Sign in Join
FPDoc Onlineexperiment

TLazLoggerBlockTimer class

In unit LazLoggerProfiling

Provides profiler instrumentation for execution times in a logger class.

Declaration

pascal
TLazLoggerBlockTimer = class(TLazLoggerBlockHandler)

Inheritance

  1. TLazLoggerBlockTimer
  2. TLazLoggerBlockHandler

Description

Nothing more than the line above yet.

Properties

MaxDepthpublicMaximum depth for execution time data in the nested levels for the block handler.
TimeDiffpublicCalculates the cumulative execution time for the block at the specified nesting level.
NestedpublicExecution time data for the block at the specified nesting level.

Methods

CreatepublicConstructor for the class instance.
EnterBlockpublicCaptures the execution start time and nesting level when a new block is entered.
ExitBlockpublicUpdates the cumulative execution time when a block is exited.

Inherited

From TLazLoggerBlockHandler (2)

DecreaseIndent IncreaseIndent

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