From aa00b1c4c4f9bd4708fb8c375b9b9c512f922637 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Thu, 15 Aug 2019 01:45:54 +0200 Subject: [PATCH] Add Win10 wait reasons. --- server/TracyView.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index fdbef24f..31bad99b 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -2260,7 +2260,10 @@ static const char* DecodeContextSwitchReasonCode( uint8_t reason ) case 34: return "WrFastMutex"; case 35: return "WrGuardedMutex"; case 36: return "WrRundown"; - case 37: return "MaximumWaitReason"; + case 37: return "WrAlertByThreadId"; + case 38: return "WrDeferredPreempt"; + case 39: return "WrPhysicalFault"; + case 40: return "MaximumWaitReason"; default: return "unknown"; } }