[Overview][Classes][Procedures and functions][Index] Reference for unit 'LazLoggerProfiling' (#lazutils)

TLazLoggerBlockMemWatch.MemDiff

Indicates heap memory allocation for the block at the specified nesting level.

Declaration

Source position: lazloggerprofiling.pas line 56

public property TLazLoggerBlockMemWatch.MemDiff[ALevel: Integer] : Int64
  read GetMemDiff;

Description

MemDiff is a read-only Int64 property which provides indexed access to the cumulative memory usage for a block at a specified nesting level. The value is calculated as the difference between the current memory allocation in the block and the initial memory allocation in the parent block. The property value reflects heap memory allocation.

The property value is 0 (zero) if ALevel is not in the range 0..MaxDepth.


Version 4.0 Generated 2025-05-03 Home