Searched refs:ptime_buf (Results 1 – 2 of 2) sorted by relevance
/linux/tools/perf/util/ |
H A D | time-utils.c | 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() [all …]
|
H A D | time-utils.h | 17 int perf_time__percent_parse_str(struct perf_time_interval *ptime_buf, int num, 24 bool perf_time__ranges_skip_sample(struct perf_time_interval *ptime_buf,
|