6 #ifndef RTE_POWER_CPUFREQ_H 7 #define RTE_POWER_CPUFREQ_H 17 #include "power_cpufreq.h" 24 enum power_management_env {
28 PM_ENV_PSTATE_CPUFREQ,
30 PM_ENV_AMD_PSTATE_CPUFREQ
118 uint32_t
rte_power_freqs(
unsigned int lcore_id, uint32_t *freqs, uint32_t num);
266 struct rte_power_core_capabilities *caps);
int rte_power_freq_max(unsigned int lcore_id)
int rte_power_exit(unsigned int lcore_id)
int rte_power_get_capabilities(unsigned int lcore_id, struct rte_power_core_capabilities *caps)
int rte_power_freq_down(unsigned int lcore_id)
int rte_power_freq_up(unsigned int lcore_id)
void rte_power_unset_env(void)
int rte_power_turbo_status(unsigned int lcore_id)
int rte_power_freq_min(unsigned int lcore_id)
uint32_t rte_power_freqs(unsigned int lcore_id, uint32_t *freqs, uint32_t num)
enum power_management_env rte_power_get_env(void)
uint32_t rte_power_get_freq(unsigned int lcore_id)
int rte_power_freq_disable_turbo(unsigned int lcore_id)
int rte_power_set_env(enum power_management_env env)
int rte_power_init(unsigned int lcore_id)
int rte_power_freq_enable_turbo(unsigned int lcore_id)
int rte_power_check_env_supported(enum power_management_env env)
uint32_t rte_power_set_freq(unsigned int lcore_id, uint32_t index)