Add support for ARM counters

Adding support for ARM counters via a third-party lib.
The main target platform is Android.
This commit is contained in:
tabi.katalin
2020-03-02 19:17:20 +01:00
committed by Baldur Karlsson
parent 6a2415f334
commit f1bd727dff
57 changed files with 10086 additions and 1 deletions
@@ -51,6 +51,7 @@ enum class CounterFamily
Intel,
NVIDIA,
VulkanExtended,
ARM,
};
CounterFamily GetCounterFamily(GPUCounter counter)
@@ -71,6 +72,10 @@ CounterFamily GetCounterFamily(GPUCounter counter)
{
return CounterFamily::VulkanExtended;
}
else if(IsARMCounter(counter))
{
return CounterFamily::ARM;
}
return CounterFamily::Generic;
}
@@ -84,6 +89,7 @@ QString ToString(CounterFamily family)
case CounterFamily::Intel: return lit("Intel");
case CounterFamily::NVIDIA: return lit("NVIDIA");
case CounterFamily::VulkanExtended: return lit("Vulkan Extended");
case CounterFamily::ARM: return lit("ARM");
case CounterFamily::Unknown: return lit("Unknown");
}