]> git.droids-corp.org - dpdk.git/blobdiff - examples/vm_power_manager/power_manager.h
raw/ifpga: remove virtual devices on close
[dpdk.git] / examples / vm_power_manager / power_manager.h
index e324766b6f56daf6c36a074fc212929ca778d501..d51039e2c6adba040db016012c5db5fceb9cf7c0 100644 (file)
@@ -26,12 +26,12 @@ struct core_details {
        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;
-       float branch_ratio_threshold;
 };
 
 #define BRANCH_RATIO_THRESHOLD 0.1
@@ -224,7 +224,7 @@ int power_manager_enable_turbo_core(unsigned int core_num);
 int power_manager_disable_turbo_core(unsigned int core_num);
 
 /**
- * Get the current freuency of the core specified by core_num
+ * Get the current frequency of the core specified by core_num
  *
  * @param core_num
  *  The core number to get the current frequency