Searched refs:ptime_buf (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/tools/perf/util/ |
D | time-utils.c | 219 static int percent_comma_split(struct perf_time_interval *ptime_buf, int num, in percent_comma_split() argument 243 ret = (func)(p1, &ptime_buf[i], start, end); in percent_comma_split() 249 pr_debug("start time %d: %" PRIu64 ", ", i, ptime_buf[i].start); in percent_comma_split() 250 pr_debug("end time %d: %" PRIu64 "\n", i, ptime_buf[i].end); in percent_comma_split() 264 static int one_percent_convert(struct perf_time_interval *ptime_buf, in one_percent_convert() argument 287 ret = percent_slash_split(str, ptime_buf, start, end); in one_percent_convert() 295 int perf_time__percent_parse_str(struct perf_time_interval *ptime_buf, int num, in perf_time__percent_parse_str() argument 307 memset(ptime_buf, 0, sizeof(*ptime_buf) * num); in perf_time__percent_parse_str() 311 return percent_comma_split(ptime_buf, num, ostr, start, in perf_time__percent_parse_str() 317 return percent_comma_split(ptime_buf, num, ostr, start, in perf_time__percent_parse_str() [all …]
|
D | time-utils.h | 16 int perf_time__percent_parse_str(struct perf_time_interval *ptime_buf, int num, 23 bool perf_time__ranges_skip_sample(struct perf_time_interval *ptime_buf,
|