diff --git a/profiler/src/profiler/TracyView.cpp b/profiler/src/profiler/TracyView.cpp index 5c0101d7..31c64a1c 100644 --- a/profiler/src/profiler/TracyView.cpp +++ b/profiler/src/profiler/TracyView.cpp @@ -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 + }; +} + } diff --git a/profiler/src/profiler/TracyView.hpp b/profiler/src/profiler/TracyView.hpp index 1441baf7..6c321982 100644 --- a/profiler/src/profiler/TracyView.hpp +++ b/profiler/src/profiler/TracyView.hpp @@ -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;