From 16833fb23713172d87d7378defc3444c357ed4ab Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sun, 22 Jul 2018 00:09:14 +0200 Subject: [PATCH] Mention TRACY_NO_EXIT environment variable in README. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.