Src/GPUPerfAPIUnitTests/CounterGeneratorDX11Tests.cpp
// Test the DX11 counter names on all generations
Test the DX11 counter names on all generations
Test the DX11 counter names on all generations
TEST(CounterDLLTests, DX11CounterNamesByGeneration)
{
    VerifyHardwareNotSupported(GPA_API_DIRECTX_11, GPA_HW_GENERATION_NONE);
    std::vector<const char*> counterNames;
    GetExpectedCountersForGeneration(GPA_HW_GENERATION_NVIDIA, counterNames);
    VerifyCounterNames(GPA_API_DIRECTX_11, GPA_HW_GENERATION_NVIDIA, counterNames);
    GetExpectedCountersForGeneration(GPA_HW_GENERATION_INTEL, counterNames);
    VerifyCounterNames(GPA_API_DIRECTX_11, GPA_HW_GENERATION_INTEL, counterNames);
    GetExpectedCountersForGeneration(GPA_HW_GENERATION_GFX6, counterNames);
    VerifyCounterNames(GPA_API_DIRECTX_11, GPA_HW_GENERATION_GFX6, counterNames);
    GetExpectedCountersForGeneration(GPA_HW_GENERATION_GFX7, counterNames);
    VerifyCounterNames(GPA_API_DIRECTX_11, GPA_HW_GENERATION_GFX7, counterNames);
    GetExpectedCountersForGeneration(GPA_HW_GENERATION_GFX8, counterNames);
    VerifyCounterNames(GPA_API_DIRECTX_11, GPA_HW_GENERATION_GFX8, counterNames);
    GetExpectedCountersForGeneration(GPA_HW_GENERATION_GFX9, counterNames);
    VerifyCounterNames(GPA_API_DIRECTX_11, GPA_HW_GENERATION_GFX9, counterNames);
}
TEST ( CounterDLLTests , DX11CounterNamesByGeneration ) { VerifyHardwareNotSupported ( GPA_API_DIRECTX_11 , GPA_HW_GENERATION_NONE ) ; std :: vector < const char * > counterNames ; GetExpectedCountersForGeneration ( GPA_HW_GENERATION_NVIDIA , counterNames ) ; VerifyCounterNames ( GPA_API_DIRECTX_11 , GPA_HW_GENERATION_NVIDIA , counterNames ) ; GetExpectedCountersForGeneration ( GPA_HW_GENERATION_INTEL , counterNames ) ; VerifyCounterNames ( GPA_API_DIRECTX_11 , GPA_HW_GENERATION_INTEL , counterNames ) ; GetExpectedCountersForGeneration ( GPA_HW_GENERATION_GFX6 , counterNames ) ; VerifyCounterNames ( GPA_API_DIRECTX_11 , GPA_HW_GENERATION_GFX6 , counterNames ) ; GetExpectedCountersForGeneration ( GPA_HW_GENERATION_GFX7 , counterNames ) ; VerifyCounterNames ( GPA_API_DIRECTX_11 , GPA_HW_GENERATION_GFX7 , counterNames ) ; GetExpectedCountersForGeneration ( GPA_HW_GENERATION_GFX8 , counterNames ) ; VerifyCounterNames ( GPA_API_DIRECTX_11 , GPA_HW_GENERATION_GFX8 , counterNames ) ; GetExpectedCountersForGeneration ( GPA_HW_GENERATION_GFX9 , counterNames ) ; VerifyCounterNames ( GPA_API_DIRECTX_11 , GPA_HW_GENERATION_GFX9 , counterNames ) ; }
Test the DX11 counter names on all generations
Test the DX11 counter names on all generations