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
examples/vm_power: make branch ratio threshold per core
[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
e324766
..
d35f8cb
100644
(file)
--- a/
examples/vm_power_manager/power_manager.h
+++ b/
examples/vm_power_manager/power_manager.h
@@
-26,12
+26,12
@@
struct core_details {
uint16_t freq_directions[FREQ_WINDOW_SIZE];
uint16_t freq_window_idx;
uint16_t freq_state;
uint16_t freq_directions[FREQ_WINDOW_SIZE];
uint16_t freq_window_idx;
uint16_t freq_state;
+ float branch_ratio_threshold;
};
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
};
#define BRANCH_RATIO_THRESHOLD 0.1