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

Function TranslateGraphicsRuntime

IntelPresentMon/SampleClient/Utils.h:40–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38}
39
40std::string TranslateGraphicsRuntime(PM_GRAPHICS_RUNTIME graphicsRuntime) {
41 switch (graphicsRuntime) {
42 case PM_GRAPHICS_RUNTIME_UNKNOWN:
43 return "UNKNOWN";
44 case PM_GRAPHICS_RUNTIME_DXGI:
45 return "DXGI";
46 case PM_GRAPHICS_RUNTIME_D3D9:
47 return "D3D9";
48 default:
49 return "UNKNOWN";
50 }
51}
52
53bool CaseInsensitiveCompare(std::string str1, std::string str2) {
54 std::for_each(str1.begin(), str1.end(), [](char& c)

Callers 1

WriteToCSVFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected