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
net/mlx5: fix Direct Rules build
[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
..
e81a60a
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);
@@
-29,8
+32,6
@@
core_info_init(void);
#define RTE_LOGTYPE_POWER_MANAGER RTE_LOGTYPE_USER1
#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.
/**
* Initialize power management.
* Initializes resources and verifies the number of CPUs on the system.