examples/vm_power: make branch ratio threshold per core
[dpdk.git] / examples / vm_power_manager / parse.h
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright(c) 2018 Intel Corporation
3  */
4
5 #ifndef PARSE_H_
6 #define PARSE_H_
7
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11
12 int
13 parse_set(const char *, uint16_t [], unsigned int);
14
15 int
16 parse_branch_ratio(const char *input, float *branch_ratio);
17
18 #ifdef __cplusplus
19 }
20 #endif
21
22
23 #endif /* PARSE_H_ */