From a20c6604c3852c69ee15b3f2ca61dbd4e0668b09 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Tue, 15 Oct 2019 14:11:02 +0200 Subject: [PATCH] Add natvis for ContextSwitchData and ContextSwitchCpu. --- profiler/build/win32/DebugVis.natvis | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/profiler/build/win32/DebugVis.natvis b/profiler/build/win32/DebugVis.natvis index 69dfb2bf..49906d63 100644 --- a/profiler/build/win32/DebugVis.natvis +++ b/profiler/build/win32/DebugVis.natvis @@ -29,4 +29,10 @@ + + {{ 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 )} }} + + + {{ start={int64_t( _start_thread ) >> 16} end={_end} thread={uint16_t( _start_thread )} }} +