mirror of
https://github.com/wolfpld/tracy.git
synced 2026-10-16 05:45:26 +00:00
Add public View method for opening callstack window.
This commit is contained in:
@@ -1526,4 +1526,12 @@ void View::AddLlmQuery( const char* query )
|
||||
#endif
|
||||
}
|
||||
|
||||
void View::ViewCallstack( uint32_t callstack, uint32_t thread )
|
||||
{
|
||||
m_callstackView = {
|
||||
.id = callstack,
|
||||
.thread = thread
|
||||
};
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -184,6 +184,8 @@ public:
|
||||
void AddLlmAttachment( const nlohmann::json& json );
|
||||
void AddLlmQuery( const char* query );
|
||||
|
||||
void ViewCallstack( uint32_t callstack, uint32_t thread );
|
||||
|
||||
bool m_showRanges = false;
|
||||
Range m_statRange;
|
||||
Range m_flameRange;
|
||||
|
||||
Reference in New Issue
Block a user