mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-26 16:04:34 +00:00
48 lines
2.2 KiB
XML
48 lines
2.2 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>
|
|
<Type Name="tracy::ContextSwitchData">
|
|
<DisplayString>{{ start={int64_t( _start_cpu ) >> 16} end={int64_t( _end_reason_state ) >> 16} cpu={uint8_t( _start_cpu & 0xFF )} reason={int8_t( (_end_reason_state >> 8) & 0xFF )} state={int8_t( _end_reason_state & 0xFF )} }}</DisplayString>
|
|
</Type>
|
|
<Type Name="tracy::ContextSwitchCpu">
|
|
<DisplayString>{{ start={int64_t( _start_thread ) >> 16} end={_end} thread={uint16_t( _start_thread )} }}</DisplayString>
|
|
</Type>
|
|
<Type Name="tracy::ContextSwitchUsage">
|
|
<DisplayString>{{ time={int64_t( _time_other_own ) >> 16} own={uint8_t( _time_other_own >> 8 )} other={uint8_t( _time_other_own )} }}</DisplayString>
|
|
</Type>
|
|
<Type Name="tracy::Int24">
|
|
<DisplayString>{{ value={m_val[0] | (m_val[1]<<8) | (m_val[2]<<16)} }}</DisplayString>
|
|
</Type>
|
|
<Type Name="tracy::Int48">
|
|
<DisplayString>{{ value={int64_t( uint64_t(m_val[0]) | (uint64_t(m_val[1])<<8) | (uint64_t(m_val[2])<<16) | (uint64_t(m_val[3])<<24) | (uint64_t(m_val[4])<<32) | (uint64_t(m_val[5])<<40) )} }}</DisplayString>
|
|
</Type>
|
|
</AutoVisualizer>
|