Demonstrating client setup and client markup for Tracy Profiler in C. Find more details here.
We are using meson with the ninja backend:
meson |
ninja |
---|---|
0.59.2 | 1.10.2 |
- Get the
ninja
binary from here - Add the location of your
ninja
binary to your PATH environment variable - Install meson
- Navigate to the project directory
$ meson builddir
$ cd builddir
$ meson compile
- The produced binary in
builddir
will send traces to theTracy
server
Remove the following line from meson.build to stop collecting traces:
add_project_arguments(['-DTRACY_ENABLE=1', '-DTRACY_NO_EXIT=1'], language : ['c', 'cpp'])