X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Fvm_power_manager%2Fpower_manager.h;h=c3673844c6f9227b12e1454f39e1e3097f2813ec;hb=4d7ea3e1459b7df218534eb802c13f89ff867c54;hp=45385de37994b1cec36c314b3509bf8f9251760e;hpb=99a968fac0cf1229ff6da9e082f3bd119bb1a746;p=dpdk.git diff --git a/examples/vm_power_manager/power_manager.h b/examples/vm_power_manager/power_manager.h index 45385de379..c3673844c6 100644 --- a/examples/vm_power_manager/power_manager.h +++ b/examples/vm_power_manager/power_manager.h @@ -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); @@ -30,7 +33,7 @@ core_info_init(void); #define RTE_LOGTYPE_POWER_MANAGER RTE_LOGTYPE_USER1 /* Maximum number of CPUS to manage */ -#define POWER_MGR_MAX_CPUS 64 +#define POWER_MGR_MAX_CPUS 256 /** * Initialize power management. * Initializes resources and verifies the number of CPUs on the system.