Searched refs:ptime_buf (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/tools/perf/util/ |
H A D | time-utils.c | 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() 350 ret = percent_slash_split(str, ptime_buf, start, end); in one_percent_convert() 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() 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() [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,
|