]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_power/power_pstate_cpufreq.h
test mbuf attach
[dpdk.git] / lib / librte_power / power_pstate_cpufreq.h
index 6fd801881f2571d6b1e5646e43b3e674cb335812..0be0bd6b818054fceb13bc9b7f5ac3349842a816 100644 (file)
 extern "C" {
 #endif
 
+/**
+ * Check if pstate power management is supported.
+ *
+ * @return
+ *   - 1 if supported
+ *   - 0 if unsupported
+ *   - -1 if error, with rte_errno indicating reason for error.
+ */
+int power_pstate_cpufreq_check_supported(void);
+
 /**
  * Initialize power management for a specific lcore. It will check and set the
  * governor to performance for the lcore, get the available frequencies, and