Add public View method for opening callstack window.

This commit is contained in:
Bartosz Taudul
2026-04-30 21:41:53 +02:00
parent cf2c07d905
commit 89bd8b2ba5
2 changed files with 10 additions and 0 deletions

View File

@@ -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
};
}
}

View File

@@ -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;