mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
33 lines
1.1 KiB
XML
33 lines
1.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
|
|
<Type Name="tracy::Vector<*>">
|
|
<DisplayString>{{ size={m_size} }}</DisplayString>
|
|
<Expand>
|
|
<Item Name="[capacity]" ExcludeView="simple">m_capacity == 255 ? m_size : m_ptr == nullptr ? 0 : 1 << m_capacity</Item>
|
|
<ArrayItems>
|
|
<Size>m_size</Size>
|
|
<ValuePointer>m_ptr</ValuePointer>
|
|
</ArrayItems>
|
|
</Expand>
|
|
</Type>
|
|
<Type Name="tracy::VarArray<*>">
|
|
<DisplayString>{{ size={m_size} hash={m_hash} }}</DisplayString>
|
|
<Expand>
|
|
<ArrayItems>
|
|
<Size>m_size</Size>
|
|
<ValuePointer>m_ptr</ValuePointer>
|
|
</ArrayItems>
|
|
</Expand>
|
|
</Type>
|
|
<Type Name="tracy::FastVector<*>">
|
|
<DisplayString>{{ size={m_write - m_ptr} }}</DisplayString>
|
|
<Expand>
|
|
<Item Name="[capacity]" ExcludeView="simple">m_end - m_ptr</Item>
|
|
<ArrayItems>
|
|
<Size>m_write - m_ptr</Size>
|
|
<ValuePointer>m_ptr</ValuePointer>
|
|
</ArrayItems>
|
|
</Expand>
|
|
</Type>
|
|
</AutoVisualizer>
|