examples/vm_power: cpu frequency in host
authorAlan Carew <alan.carew@intel.com>
Tue, 25 Nov 2014 16:18:04 +0000 (16:18 +0000)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 26 Nov 2014 16:27:03 +0000 (17:27 +0100)
commitd26c18c93260242328f85927660d1cb2236ada60
tree72b090cd6883ffedf106dba80f76dada06b36e05
parent3842bf2424e27d4092fafcab000e10935c5d47f3
examples/vm_power: cpu frequency in host

A wrapper around librte_power(using ACPI cpufreq), providing locking around the
non-threadsafe library, allowing for frequency changes based on core masks and
core numbers from both the CLI thread and epoll monitor thread.

Signed-off-by: Alan Carew <alan.carew@intel.com>
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
examples/vm_power_manager/power_manager.c [new file with mode: 0644]
examples/vm_power_manager/power_manager.h [new file with mode: 0644]