1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Add context switch usage struct.

This commit is contained in:
Bartosz Taudul
2019-11-05 00:30:57 +01:00
parent 09d6f3f917
commit a62c4135ad
2 changed files with 21 additions and 0 deletions
+3
View File
@@ -35,4 +35,7 @@
<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>
</AutoVisualizer>