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