Skip to content

Commit c6bac3d

Browse files
committed
update readme
1 parent 3daace9 commit c6bac3d

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

project/thirdparty/tracy-0.11.1/README.md

+8-3
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,15 @@ Then start either Tracy's UI-App or cmdline server listening on localhost and st
2222
## Some notes about the integration
2323

2424
### 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.
2626

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.
2934
3035
### externs
3136
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

Comments
 (0)