You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: project/thirdparty/tracy-0.11.1/README.md
+8-3
Original file line number
Diff line number
Diff line change
@@ -22,10 +22,15 @@ Then start either Tracy's UI-App or cmdline server listening on localhost and st
22
22
## Some notes about the integration
23
23
24
24
### Haxe-Code
25
-
We integrate Tracy into hxcpp as a Telemetry option and offer a set of static functions to set zones and other tracy functionality.
25
+
We integrate Tracy into hxcpp as a Telemetry option which utilizes `hx::StackPosition`and offer a set of static functions to set zones and other tracy functionality. Through this all your haxe-code will be captured in a profiler-session.
26
26
27
-
There are however native parts of hxcpp that wont be visible by default in Tracy (bc there are no ZoneScopes). Note that these will be visible if you use the option to capture callstacks.
28
-
> Note: There is a exception in the GC-Code, so it becomes visible for us.
27
+
There are however native parts of hxcpp that wont be visible by default in Tracy (bc there are no ZoneScopes).
28
+
29
+
> Note: Exceptions are in a few spots in the GC-Code, so GC becomes visible for us.
30
+
31
+
> Note: Hxcpp's native calls will become visible if you use the option to capture callstacks.
32
+
33
+
> Note: We capture source-locations and their filepaths. By default these are relative to your project and thus the sourcecode preview / browsing in Tracy wont work since it expects absolute paths. To solve this you can use `-D absolute-path` in your builds.
29
34
30
35
### externs
31
36
The same is true about externs you might be using in your project. If you want to make these visible, you need to `@:include('hx/TelemetryTracy.h')` and you gain access to Tracy's C-Macros that you can use in your extern's c/cpp-code. Please refer to the official Tracy documentation: https://github.com/wolfpld/tracy/releases/latest/download/tracy.pdf
0 commit comments