examples/vm_power: add branch ratio policy type
authorDavid Hunt <david.hunt@intel.com>
Fri, 13 Jul 2018 14:23:00 +0000 (15:23 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 20 Jul 2018 21:59:42 +0000 (23:59 +0200)
commitb89168ef150ef35046735ba76d8537532d8f417f
tree30e2777d98c51098e197e2aa0d78261bc61f7aa1
parent6e26957782ef80009409192346724bc624f432eb
examples/vm_power: add branch ratio policy type

Add the capability for the vm_power_manager to receive
a policy of type BRANCH_RATIO. This will add any vcpus
in the policy to the oob monitoring thread.

Signed-off-by: David Hunt <david.hunt@intel.com>
Acked-by: Radu Nicolau <radu.nicolau@intel.com>
examples/vm_power_manager/channel_monitor.c
lib/librte_power/channel_commands.h