examples/vm_power: make branch ratio threshold per core
authorRory Sexton <rory.sexton@intel.com>
Tue, 14 Jul 2020 16:01:58 +0000 (17:01 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 17 Jul 2020 12:40:56 +0000 (14:40 +0200)
commit95f648ff9eedc11f9c888f2cc331aadb95cb9b47
tree73a285b67fb28e369e624d42158963f6440545b0
parent8831678b51c791cc7332cf49a37f98e1167673fc
examples/vm_power: make branch ratio threshold per core

This modification allows for the branch ratio threshold to be set
per core rather than system wide. This gives greater flexibility to
the branch ratio monitoring allowing it to manage different
workloads with different characteristics on the same system.

Signed-off-by: Rory Sexton <rory.sexton@intel.com>
Reviewed-by: David Hunt <david.hunt@intel.com>
Acked-by: Reshma Pattan <reshma.pattan@intel.com>
doc/guides/sample_app_ug/vm_power_management.rst
examples/vm_power_manager/main.c
examples/vm_power_manager/oob_monitor_x86.c
examples/vm_power_manager/parse.c
examples/vm_power_manager/parse.h
examples/vm_power_manager/power_manager.c
examples/vm_power_manager/power_manager.h