mirror of
https://github.com/wolfpld/tracy.git
synced 2026-06-08 08:33:48 +00:00
684 B
684 B
First profiling session
Let's start our adventure by instrumenting your application and connecting it to the profiler. Here's a quick refresher:
- Integrate Tracy Profiler into your application. This can be done using CMake, Meson, or simply by adding the source files to your project.
- Make sure that
TracyClient.cpp(or the Tracy library) is included in your build. - Define
TRACY_ENABLEin your build configuration, for the whole application. Do not do it in a single source file because it won't work. - Start your application, and Connect to it with the profiler.
Please refer to the user manual for more details.