net/mlx5: fix Direct Rules build
[dpdk.git] / examples / vm_power_manager / power_manager.h
index 45385de..e81a60a 100644 (file)
@@ -19,8 +19,11 @@ struct core_details {
 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);
 
@@ -29,8 +32,6 @@ core_info_init(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.