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>2017-10-16 22:28:38 +0300
committerBartosz Taudul <wolf.pld@gmail.com>2017-10-16 22:28:38 +0300
commit518568a5132ef121aa39f88bf4e419c7e9ef98cf (patch)
tree05a6eb137584672909c9c41ce3cc09a13b1bd39f
parente04bd05606e7660296521fbc7f621665ff4572f3 (diff)
Move client/Tracy.hpp -> Tracy.hpp.
-rw-r--r--README.md2
-rw-r--r--Tracy.hpp (renamed from client/Tracy.hpp)6
-rw-r--r--test/test.cpp2
3 files changed, 5 insertions, 5 deletions
diff --git a/README.md b/README.md
index 0719f405..a8be845c 100644
--- a/README.md
+++ b/README.md
@@ -40,7 +40,7 @@ Copy files from `tracy/client` and `tracy/common` to your project. Add `tracy/Tr
#### 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/client/Tracy.hpp` header file.
+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.
To slice the program's execution recording into frame-sized chunks, put the `FrameMark` macro after you have completed rendering the frame. Ideally that would be right after the swap buffers command. Note that this step is optional, as some applications (for example: a compression utility) do not have the concept of a frame.
diff --git a/client/Tracy.hpp b/Tracy.hpp
index 331bc014..e9c8f4ee 100644
--- a/client/Tracy.hpp
+++ b/Tracy.hpp
@@ -23,9 +23,9 @@
#else
-#include "TracyLock.hpp"
-#include "TracyProfiler.hpp"
-#include "TracyScoped.hpp"
+#include "client/TracyLock.hpp"
+#include "client/TracyProfiler.hpp"
+#include "client/TracyScoped.hpp"
#define ZoneScoped static const tracy::SourceLocation __tracy_source_location { __FUNCTION__, __FILE__, (uint32_t)__LINE__, 0 }; tracy::ScopedZone ___tracy_scoped_zone( &__tracy_source_location );
#define ZoneScopedC( color ) static const tracy::SourceLocation __tracy_source_location { __FUNCTION__, __FILE__, (uint32_t)__LINE__, color }; tracy::ScopedZone ___tracy_scoped_zone( &__tracy_source_location );
diff --git a/test/test.cpp b/test/test.cpp
index ad1dadea..c8b81d19 100644
--- a/test/test.cpp
+++ b/test/test.cpp
@@ -1,7 +1,7 @@
#include <chrono>
#include <mutex>
#include <thread>
-#include "../client/Tracy.hpp"
+#include "../Tracy.hpp"
#include "../common/TracySystem.hpp"
void TestFunction()