Searched refs:ret_fraction (Results 1 – 1 of 1) sorted by relevance
61 int parse_tc_percent(const char *s, uint32_t *ret_fraction) { in parse_tc_percent() argument65 assert(ret_fraction); in parse_tc_percent()71 *ret_fraction = (double) r / 10000 * UINT32_MAX; in parse_tc_percent()