struct core_info {
uint16_t core_count;
struct core_details *cd;
+ float branch_ratio_threshold;
};
+#define BRANCH_RATIO_THRESHOLD 0.1
+
struct core_info *
get_core_info(void);
#define RTE_LOGTYPE_POWER_MANAGER RTE_LOGTYPE_USER1
-/* Maximum number of CPUS to manage */
-#define POWER_MGR_MAX_CPUS 64
/**
* Initialize power management.
* Initializes resources and verifies the number of CPUs on the system.