LazLoggerProfiling unit
Contains classes and routines used for profiling in the Lazarus debugger.
lazloggerprofiling.pas is part of the
LazUtils
package.
Classes and records
TLazLoggerBlockMemWatch | class | Provides profiler instrumentation for memory allocation (heap) in a logger class. |
TLazLoggerBlockTimer | class | Provides profiler instrumentation for execution times in a logger class. |
Procedures and functions
DbgsMemUsed | function | Generates a formatted message with memory usage for the parent, current, or child block(s). |
DbgStartMemWatch | procedure | Gets or creates memory allocation data for the specified name, and initializes its data. |
DbgStartTimer | procedure | Gets or creates timing data for the specified name, and updates its last execution time. |
DbgsTimeUsed | function | Generates a formatted message with execution times for the parent, current, or child blocks. |
DbgStopMemWatch | procedure | Updates memory allocation data using the specified name when it is stopped, and calculates its cumulative usage. |
DbgStopTimer | procedure | Updates timing data using the specified name when it is stopped, and calculates its cumulative execution time. |
Uses
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
