Document TRACY_ON_DEMAND macro.

This commit is contained in:
Bartosz Taudul 2018-07-12 13:27:02 +02:00
parent 2806bfaac7
commit b85a8a62a2

View File

@ -53,6 +53,8 @@ In the default configuration tracy is disabled. To enable it, add a `TRACY_ENABL
If you want to profile a short-lived application, add a `TRACY_NO_EXIT` define. In this configuration tracy will not exit until an incoming connection is made, even if the application has already finished.
If you don't want to perform a complete application life-time capture, you may define a `TRACY_ON_DEMAND` macro, which will enable profiling only when there's an incoming connection from the server.
On Unix make sure you are linking your application with libpthread and libdl.
#### Running the server