Skip to content

Commit

Permalink
improve docs for headless tracy usage
Browse files Browse the repository at this point in the history
  • Loading branch information
KristofferC committed Aug 23, 2023
1 parent f12d2e3 commit 8d32d58
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion doc/src/devdocs/external_profilers.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,13 @@ run(TracyProfiler_jll.tracy())
!!! note
On macOS, you may want to set the `TRACY_DPI_SCALE` environment variable to `1.0` if the UI elements in the profiler appear excessively large.

To run a "headless" instance that saves the trace to disk, use `TracyProfiler_jll.capture() -o mytracefile.tracy` instead.
To run a "headless" instance that saves the trace to disk, use

```julia
run(`$(TracyProfiler_jll.capture()) -o mytracefile.tracy`)
```

instead.

For information on using the Tracy UI, refer to the Tracy manual.

Expand Down

0 comments on commit 8d32d58

Please sign in to comment.