mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
Display symbols code size.
This commit is contained in:
parent
f114ec3f80
commit
582e46005e
@ -12358,6 +12358,13 @@ void View::DrawInfo()
|
||||
TextFocused( "Source locations:", RealToString( m_worker.GetSrcLocCount() ) );
|
||||
TextFocused( "Strings:", RealToString( m_worker.GetStringsCount() ) );
|
||||
TextFocused( "Symbols:", RealToString( m_worker.GetSymbolsCount() ) );
|
||||
TextFocused( "Symbols code:", RealToString( m_worker.GetSymbolCodeCount() ) );
|
||||
if( ImGui::IsItemHovered() )
|
||||
{
|
||||
ImGui::BeginTooltip();
|
||||
ImGui::TextUnformatted( MemSizeToString( m_worker.GetSymbolCodeSize() ) );
|
||||
ImGui::EndTooltip();
|
||||
}
|
||||
TextFocused( "Call stacks:", RealToString( m_worker.GetCallstackPayloadCount() ) );
|
||||
if( m_worker.AreCallstackSamplesReady() )
|
||||
{
|
||||
|
@ -387,6 +387,8 @@ public:
|
||||
uint64_t GetCallstackFrameCount() const { return m_data.callstackFrameMap.size(); }
|
||||
uint64_t GetCallstackSampleCount() const { return m_data.samplesCnt; }
|
||||
uint64_t GetSymbolsCount() const { return m_data.symbolMap.size(); }
|
||||
uint64_t GetSymbolCodeCount() const { return m_data.symbolCode.size(); }
|
||||
uint64_t GetSymbolCodeSize() const { return m_data.symbolCodeSize; }
|
||||
uint64_t GetGhostZonesCount() const { return m_data.ghostCnt; }
|
||||
uint32_t GetFrameImageCount() const { return (uint32_t)m_data.frameImage.size(); }
|
||||
uint64_t GetStringsCount() const { return m_data.strings.size() + m_data.stringData.size(); }
|
||||
|
Loading…
Reference in New Issue
Block a user