Lines Matching refs:he
25 static int __hpp__fmt(struct perf_hpp *hpp, struct hist_entry *he, in __hpp__fmt() argument
30 struct hists *hists = he->hists; in __hpp__fmt()
40 percent = 100.0 * get_field(he) / total; in __hpp__fmt()
44 ret = hpp__call_print_fn(hpp, print_fn, fmt, len, get_field(he)); in __hpp__fmt()
53 list_for_each_entry(pair, &he->pairs.head, pairs.node) { in __hpp__fmt()
115 struct hist_entry *he, hpp_field_fn get_field, in hpp__fmt() argument
121 return __hpp__fmt(hpp, he, get_field, fmtstr, 1, in hpp__fmt()
130 return __hpp__fmt(hpp, he, get_field, fmtstr, len, print_fn, fmt_percent); in hpp__fmt()
134 struct hist_entry *he, hpp_field_fn get_field, in hpp__fmt_acc() argument
142 return hpp__fmt(fmt, hpp, he, get_field, fmtstr, print_fn, fmt_percent); in hpp__fmt_acc()
278 static u64 he_get_##_field(struct hist_entry *he) \
280 return he->stat._field; \
284 struct perf_hpp *hpp, struct hist_entry *he) \
286 return hpp__fmt(fmt, hpp, he, he_get_##_field, " %*.2f%%", \
292 struct perf_hpp *hpp, struct hist_entry *he) \
294 return hpp__fmt(fmt, hpp, he, he_get_##_field, " %*.2f%%", \
306 static u64 he_get_acc_##_field(struct hist_entry *he) \
308 return he->stat_acc->_field; \
312 struct perf_hpp *hpp, struct hist_entry *he) \
314 return hpp__fmt_acc(fmt, hpp, he, he_get_acc_##_field, " %*.2f%%", \
320 struct perf_hpp *hpp, struct hist_entry *he) \
322 return hpp__fmt_acc(fmt, hpp, he, he_get_acc_##_field, " %*.2f%%", \
334 static u64 he_get_raw_##_field(struct hist_entry *he) \
336 return he->stat._field; \
340 struct perf_hpp *hpp, struct hist_entry *he) \
342 return hpp__fmt(fmt, hpp, he, he_get_raw_##_field, " %*"PRIu64, \