Lines Matching refs:start_pcnt
199 static int set_percent_time(struct perf_time_interval *ptime, double start_pcnt,
204 if (start_pcnt < 0.0 || start_pcnt > 1.0 ||
209 ptime->start = start + round(start_pcnt * total);
222 double pcnt, start_pcnt, end_pcnt;
247 start_pcnt = pcnt * (i - 1);
250 return set_percent_time(ptime, start_pcnt, end_pcnt, start, end);
257 double start_pcnt, end_pcnt;
268 if ((parse_percent(&start_pcnt, start_str) != 0) ||
276 return set_percent_time(ptime, start_pcnt, end_pcnt, start, end);