Marcos Slomp

Results 83 comments of Marcos Slomp

Merging it for now. @vksnk Let me know if you are still experiencing linking issues.

Another subtle issue for MinGW programs going through Tracy's sampling profiler is that Tracy won't be able to resolve most client symbols using the Dbghelp/Sym API symbol resolution path, since...

Now, a more fundamental question: This race only exists because two threads end up calling `StopSystemTracing()` in a relatively short span of time. If instead we just called `StopSystemTracing()` from...

> The commit introducing the two calls is [46a5cc4](https://github.com/wolfpld/tracy/commit/46a5cc4fa5d4c425b489afaee8d514fe6d2546b6), and the related PR is #1016. Hmm. Unless there's a way for `Profiler::Worker()` to break from its loop before the `~Profiler()`...

@6yry6e Thanks for the insight, I missed that detail. It looks like we should consider revisiting/refactoring the shutdown protocol as a whole in the future. @wolfpld I'll add some comments...

Fix: https://github.com/wolfpld/tracy/pull/1215

Are you running your program in Debug/unoptimized mode? That's the first thing I'd check. If the unexpected large gaps are still there in Release/optimized builds, I'd check the assembly that...

> but people from the Odin discord suggested that maybe this is related to the allocation made from the ___tracy_alloc_srcloc Makes sense. Source location information in most Tracy Zone annotations...

@caioraphael1 I just tried emulating your Odin wrapper with this: ```cpp struct CZoneScope { TracyCZoneCtx ctx; CZoneScope(const char* name, int line, const char* filename, const char* function, int depth) {...