-
Notifications
You must be signed in to change notification settings - Fork 87
Tracy
PRXPHET edited this page Jul 9, 2025
·
2 revisions
Tracy is a real time, nanosecond resolution, remote telemetry, hybrid frame and sampling profiler for games and other applications.
Tracy supports profiling CPU, GPU, memory allocations, locks, context switches, automatically attribute screenshots to captured frames, and much more.
More details in the Tracy repository.

- Take the engine from the latest release with the
ReleaseTracyProfilerconfiguration OR build it yourself with uncommented Tracy preprocessors in theEngine_properties.propsandEngine_lib_properties.propsfiles. - Download the Tracy Profiler via this link.
- Run the engine and tracy-profiler.exe.
- The engine process will be highlighted in tracy-profiler.exe, wait and soon the profiler will start.
Profiler can be restarted and reconnected at any time.
To set zones in Lua scripts:
function some_function()
tracy.ZoneBegin()
-- doing something
tracy.ZoneEnd()
endor
function some_function()
tracy.ZoneBeginN("Zone name")
-- doing something
tracy.ZoneEnd()
endYou can also add this code to _G so that the game does not crash when there are no Tracy exports in Lua (on Release engine configuration for example):
if not tracy then
tracy = {}
tracy.ZoneBegin = function() end
tracy.ZoneBeginN = function() end
tracy.ZoneEnd = function() end
end