mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-26 07:54:36 +00:00
72ad40698b
Initializing structures for callstack processing (building memory map of the process, gathering kernel symbols, etc) takes some time, which in some cases may be significant. Callstack queries are now handled on a separate thread. In such setup it no longer makes sense to block main thread execution with this lengthy init process. All the heavy initialization phase has been now moved to this separate processing thread. Some initial callstack queries may now not produce responses as promptly as before, but this is only because the main thread is able to start working earlier. Some parts of the initialization process may be critical to do in the main thread, for example because the function responsible for gathering callstacks must be loaded first. This is done still on the main thread, in a new function InitCallstackCritical(). |
||
---|---|---|
.. | ||
client | ||
common | ||
libbacktrace | ||
tracy | ||
TracyClient.cpp |