Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wolfpld/tracy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartosz Taudul <wolf.pld@gmail.com>2018-07-22 01:09:14 +0300
committerBartosz Taudul <wolf.pld@gmail.com>2018-07-22 01:09:14 +0300
commit16833fb23713172d87d7378defc3444c357ed4ab (patch)
tree117449e639c1191dd48f2896b7c54143c8d4c585 /README.md
parentf767a0c3fd620b8cebe20b7ebb516f3c777a75fe (diff)
Mention TRACY_NO_EXIT environment variable in README.
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 30968d35..155710fb 100644
--- a/README.md
+++ b/README.md
@@ -53,7 +53,7 @@ Copy files from `tracy/client` and `tracy/common` to your project. Add `tracy/Tr
In the default configuration tracy is disabled. To enable it, add a `TRACY_ENABLE` define.
-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 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. This can also be achieved by setting the same-named environment variable to `1`.
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.