git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ipsec: implement SA data-path API
[dpdk.git]
/
examples
/
vm_power_manager
/
power_manager.h
diff --git
a/examples/vm_power_manager/power_manager.h
b/examples/vm_power_manager/power_manager.h
index
45385de
..
c367384
100644
(file)
--- 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;
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);
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 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.
/**
* Initialize power management.
* Initializes resources and verifies the number of CPUs on the system.