We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 377c87a commit 1b81f45Copy full SHA for 1b81f45
src/cpucounters.h
@@ -584,6 +584,11 @@ typedef SimpleCounterState IDXCounterState;
584
585
typedef std::vector<uint64> eventGroup_t;
586
587
+inline constexpr int PCM_CPU_FAMILY_MODEL(int family_, int model_)
588
+{
589
+ return ((family_) << 8) + (model_);
590
+}
591
+
592
class PerfVirtualControlRegister;
593
594
/*!
@@ -1896,8 +1901,6 @@ class PCM_API PCM
1896
1901
*/
1897
1902
static int getCPUFamilyModelFromCPUID();
1898
1903
1899
- #define PCM_CPU_FAMILY_MODEL(family_, model_) (((family_) << 8) + (model_))
1900
-
1904
//! \brief Identifiers of supported CPU models
1905
enum SupportedCPUModels
1906
{
0 commit comments