Rory Sexton 95f648ff9e 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>
2020-07-17 14:40:56 +02:00

24 lines
334 B
C

/* SPDX-License-Identifier: BSD-3-Clause
* Copyright(c) 2018 Intel Corporation
*/
#ifndef PARSE_H_
#define PARSE_H_
#ifdef __cplusplus
extern "C" {
#endif
int
parse_set(const char *, uint16_t [], unsigned int);
int
parse_branch_ratio(const char *input, float *branch_ratio);
#ifdef __cplusplus
}
#endif
#endif /* PARSE_H_ */