mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Add Int24, Int48 natvis.
This commit is contained in:
parent
b425374cb7
commit
64d6caf695
@ -38,4 +38,10 @@
|
||||
<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>
|
||||
|
Loading…
Reference in New Issue
Block a user