mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-26 16:04:34 +00:00
Add natvis for ContextSwitchData and ContextSwitchCpu.
This commit is contained in:
parent
fefa3b4693
commit
a20c6604c3
@ -29,4 +29,10 @@
|
||||
</ArrayItems>
|
||||
</Expand>
|
||||
</Type>
|
||||
<Type Name="tracy::ContextSwitchData">
|
||||
<DisplayString>{{ start={int64_t( _start_cpu ) >> 8} 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>
|
||||
</AutoVisualizer>
|
||||
|
Loading…
Reference in New Issue
Block a user