MCPcopy Create free account
hub / github.com/GameTechDev/PresentMon / ParseCrashKind_

Function ParseCrashKind_

IntelPresentMon/SampleClient/LoggingCrashTest.cpp:23–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21 };
22
23 CrashKind_ ParseCrashKind_(int mode)
24 {
25 if (mode <= static_cast<int>(CrashKind_::CppException)) {
26 return CrashKind_::CppException;
27 }
28 if (mode >= static_cast<int>(CrashKind_::Terminate)) {
29 return CrashKind_::Terminate;
30 }
31 return static_cast<CrashKind_>(mode);
32 }
33
34 void LogCrashPrelude_(const char* scenario)
35 {

Callers 1

RunLoggingCrashTestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected