xref: /dpdk/examples/vm_power_manager/parse.h (revision 95f648ff9eedc11f9c888f2cc331aadb95cb9b47)
199a968faSDavid Hunt /* SPDX-License-Identifier: BSD-3-Clause
299a968faSDavid Hunt  * Copyright(c) 2018 Intel Corporation
399a968faSDavid Hunt  */
499a968faSDavid Hunt 
599a968faSDavid Hunt #ifndef PARSE_H_
699a968faSDavid Hunt #define PARSE_H_
799a968faSDavid Hunt 
899a968faSDavid Hunt #ifdef __cplusplus
999a968faSDavid Hunt extern "C" {
1099a968faSDavid Hunt #endif
1199a968faSDavid Hunt 
1299a968faSDavid Hunt int
1399a968faSDavid Hunt parse_set(const char *, uint16_t [], unsigned int);
1499a968faSDavid Hunt 
15*95f648ffSRory Sexton int
16*95f648ffSRory Sexton parse_branch_ratio(const char *input, float *branch_ratio);
17*95f648ffSRory Sexton 
1899a968faSDavid Hunt #ifdef __cplusplus
1999a968faSDavid Hunt }
2099a968faSDavid Hunt #endif
2199a968faSDavid Hunt 
2299a968faSDavid Hunt 
2399a968faSDavid Hunt #endif /* PARSE_H_ */
24