From 990d20b782bd42659d97c2e3318a1f060642415d Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Mon, 16 Oct 2017 21:41:33 +0200 Subject: [PATCH] Document how to enable tracy. --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index a8be845c..b9b7a207 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,8 @@ It should be noted that tracy needs to calibrate its internal timers at each run Copy files from `tracy/client` and `tracy/common` to your project. Add `tracy/TracyClient.cpp` to source files list. That's all. Tracy is now integrated into your application. +In the default configuration tracy is disabled. To enable it, add a TRACY\_ENABLE define. + #### Marking zones To begin data collection, tracy requires that you manually instrument your application (automatic tracing of every entered function is not feasible due to the amount of data that would generate). All the user-facing interface is contained in the `tracy/Tracy.hpp` header file.