API Referenceveextensionsprofiling
Profiling Zones
Zone-based profiling system for marking and measuring code regions. Allows developers to tag sections of code and view aggregated timing data.
Zone-based profiling system for marking and measuring code regions. Allows developers to tag sections of code with named zones and view aggregated timing data for each zone.
Usage Example
-- Mark a code region for profiling
extensions.profiling_zone.begin("myExpensiveFunction")
-- ... expensive work ...
extensions.profiling_zone.finish("myExpensiveFunction")See Also
- Profiling (p) — LuaJIT profiler integration
- Performance Logger — Function-level timing
Profiling VM Definitions
LuaJIT VM definition helpers for the profiling system. Provides bytecode and IR name tables used by the profiler to decode execution traces.
Scenario Annotate
Adds annotation markers and labels to the vehicle during scenarios. Used to display waypoint indicators, objective markers, and instructional overlays.