Lines Matching refs:ptime_buf
282 static int percent_comma_split(struct perf_time_interval *ptime_buf, int num,
306 ret = (func)(p1, &ptime_buf[i], start, end);
312 pr_debug("start time %d: %" PRIu64 ", ", i, ptime_buf[i].start);
313 pr_debug("end time %d: %" PRIu64 "\n", i, ptime_buf[i].end);
327 static int one_percent_convert(struct perf_time_interval *ptime_buf,
350 ret = percent_slash_split(str, ptime_buf, start, end);
358 int perf_time__percent_parse_str(struct perf_time_interval *ptime_buf, int num,
370 memset(ptime_buf, 0, sizeof(*ptime_buf) * num);
374 return percent_comma_split(ptime_buf, num, ostr, start,
380 return percent_comma_split(ptime_buf, num, ostr, start,
386 return one_percent_convert(ptime_buf, ostr, start, end, c);
434 bool perf_time__ranges_skip_sample(struct perf_time_interval *ptime_buf,
440 if ((!ptime_buf) || (timestamp == 0) || (num == 0))
444 return perf_time__skip_sample(&ptime_buf[0], timestamp);
450 ptime = &ptime_buf[i];