Searched refs:start_pcnt (Results 1 – 1 of 1) sorted by relevance
/linux/tools/perf/util/ |
H A D | time-utils.c | 199 static int set_percent_time(struct perf_time_interval *ptime, double start_pcnt, in set_percent_time() argument 204 if (start_pcnt < 0.0 || start_pcnt > 1.0 || in set_percent_time() 209 ptime->start = start + round(start_pcnt * total); in set_percent_time() 222 double pcnt, start_pcnt, end_pcnt; in percent_slash_split() local 247 start_pcnt = pcnt * (i - 1); in percent_slash_split() 250 return set_percent_time(ptime, start_pcnt, end_pcnt, start, end); in percent_slash_split() 257 double start_pcnt, end_pcnt; in percent_dash_split() local 268 if ((parse_percent(&start_pcnt, start_str) != 0) || in percent_dash_split() 276 return set_percent_time(ptime, start_pcnt, end_pcnt, start, end); in percent_dash_split()
|