Src/GPUPerfAPIUnitTests/CounterGeneratorDX11Tests.cpp
// Test the DX11 counter names on all supported hardware
Test the DX11 counter names on all supported hardware
Test the DX11 counter names on all supported hardware
TEST(CounterDLLTests, DX11CounterNames)
{
    VerifyHardwareNotSupported(GPA_API_DIRECTX_11, gDevIdUnknown);
    std::vector<const char*> counterNames;
    GetExpectedCountersForGeneration(GPA_HW_GENERATION_GFX6, counterNames);
    VerifyCounterNames(GPA_API_DIRECTX_11, gDevIdSI, counterNames);
    GetExpectedCountersForGeneration(GPA_HW_GENERATION_GFX7, counterNames);
    VerifyCounterNames(GPA_API_DIRECTX_11, gDevIdCI, counterNames);
    GetExpectedCountersForGeneration(GPA_HW_GENERATION_GFX8, counterNames);
    VerifyCounterNames(GPA_API_DIRECTX_11, gDevIdVI, counterNames);
    GetExpectedCountersForGeneration(GPA_HW_GENERATION_GFX9, counterNames);
    VerifyCounterNames(GPA_API_DIRECTX_11, gDevIdGfx9, counterNames);
}
TEST ( CounterDLLTests , DX11CounterNames ) { VerifyHardwareNotSupported ( GPA_API_DIRECTX_11 , gDevIdUnknown ) ; std :: vector < const char * > counterNames ; GetExpectedCountersForGeneration ( GPA_HW_GENERATION_GFX6 , counterNames ) ; VerifyCounterNames ( GPA_API_DIRECTX_11 , gDevIdSI , counterNames ) ; GetExpectedCountersForGeneration ( GPA_HW_GENERATION_GFX7 , counterNames ) ; VerifyCounterNames ( GPA_API_DIRECTX_11 , gDevIdCI , counterNames ) ; GetExpectedCountersForGeneration ( GPA_HW_GENERATION_GFX8 , counterNames ) ; VerifyCounterNames ( GPA_API_DIRECTX_11 , gDevIdVI , counterNames ) ; GetExpectedCountersForGeneration ( GPA_HW_GENERATION_GFX9 , counterNames ) ; VerifyCounterNames ( GPA_API_DIRECTX_11 , gDevIdGfx9 , counterNames ) ; }
Test the DX11 counter names on all supported hardware
Test the DX11 counter names on all supported hardware